Fix macro expansion in REPL; update roadmap to reflect actual capabilities
This commit is contained in:
+2
-1
@@ -1,6 +1,6 @@
|
||||
# Clojure/Nim — AI-First Clojure Compiler
|
||||
import os, osproc, strutils
|
||||
import reader, emitter, types, repl
|
||||
import reader, emitter, types, repl, macros
|
||||
|
||||
proc getLibPath(): string =
|
||||
let appDir = getAppDir()
|
||||
@@ -53,6 +53,7 @@ proc runFile*(inputPath: string) =
|
||||
quit(1)
|
||||
|
||||
proc main() =
|
||||
initBuiltinMacros()
|
||||
let args = commandLineParams()
|
||||
|
||||
if args.len == 0:
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
# AI-First REPL for Clojure/Nim
|
||||
import os, osproc, strutils, json, times
|
||||
import reader, emitter, types
|
||||
import reader, emitter, types, macros
|
||||
|
||||
type
|
||||
ReplMode* = enum
|
||||
@@ -25,6 +25,7 @@ proc getLibPath(): string =
|
||||
return "lib"
|
||||
|
||||
proc initReplState*(mode: ReplMode): ReplState =
|
||||
initBuiltinMacros()
|
||||
result.mode = mode
|
||||
result.ns = "user"
|
||||
result.defs = @[]
|
||||
|
||||
Reference in New Issue
Block a user