File tree 2 files changed +7
-1
lines changed
Sources/LispKit/Primitives
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ framework:
209
209
- [ SRFI 221: Generator/accumulator sub-library] ( https://srfi.schemers.org/srfi-221/srfi-221.html )
210
210
- [ SRFI 222: Compound Objects] ( https://srfi.schemers.org/srfi-222/srfi-222.html )
211
211
- [ SRFI 223: Generalized binary search procedures] ( https://srfi.schemers.org/srfi-223/srfi-223.html )
212
-
212
+
213
213
214
214
## Project
215
215
Original file line number Diff line number Diff line change @@ -340,6 +340,12 @@ public final class SystemLibrary: NativeLibrary {
340
340
switch args. first! {
341
341
case . null:
342
342
return ( CoreLibrary . voidProc, [ ] )
343
+ case . pair( let expr, . null) :
344
+ let code = try Compiler . compile ( expr: . pair( expr, . null) ,
345
+ in: . global( try env. asEnvironment ( ) ) ,
346
+ optimize: true ,
347
+ inDirectory: try sourceDir. asString ( ) )
348
+ return ( Procedure ( code) , [ ] )
343
349
case . pair( let expr, let rest) :
344
350
let source = Expr . pair (
345
351
expr,
You can’t perform that action at this time.
0 commit comments