Fix macro expansion in REPL; update roadmap to reflect actual capabilities

This commit is contained in:
2026-05-08 17:05:53 +03:00
parent f189dbd14a
commit 301231787c
4 changed files with 128 additions and 67 deletions
+2 -1
View File
@@ -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
View File
@@ -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 = @[]