Add object primitives, official ext/llm, and HTTPS/dotenv platform.
Introduce # objects with ## methods (handles + ` x.method `), ship OpenAI-compatible ext/llm, and upgrade net/sys for HTTPS headers and dotenv loading. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b974f10c6e
commit
b00b018056
55 files changed
+1741
-291
No files matched your search
+8
-1
@@ -573,7 +573,14 @@ fn stmt_shell(line: u32, inner: &str, mode: StructureMode) -> String {
|
||||
}
|
||||
|
||||
fn call_display(call: &CallExpr) -> String {
|
||||
let mut s = format!("> {}", call.callee);
|
||||
let mut s = String::from("> ");
|
||||
if let Some(recv) = &call.receiver {
|
||||
s.push('`');
|
||||
s.push_str(recv);
|
||||
s.push('`');
|
||||
s.push('.');
|
||||
}
|
||||
s.push_str(&call.callee);
|
||||
for a in &call.args {
|
||||
match a {
|
||||
Arg::Positional(e) => {
|
||||
|
||||
Reference in new issue
Block a user