Skip to content

Conversation

@ingydotnet
Copy link
Contributor

$ ./bin/linux_amd64/glj --help
Glojure v0.6.4-0.20250929003225-8a0e8eb65a43

Usage: glj [options] [file]

Options:
  -e <expr>        Evaluate expression from command line
  --aot            Compile Clojure file to Go code (AOT compilation)
  -h, --help       Show this help message
  --version        Show version information

Examples:
  glj                            # Start a Glojure REPL
  glj script.glj                 # Run script file
  glj -e "(+ 1 2)"               # Evaluate expression
  glj --aot script.glj           # Compile script to Go code
  glj --aot -e "(ns main) (println 1234)"  # Compile expression to Go code
  glj --version                  # Show version
  glj --help                     # Show this help

For more information, visit: https://github.com/glojurelang/glojure

@ingydotnet ingydotnet marked this pull request as draft September 29, 2025 00:39
@ingydotnet ingydotnet changed the title Add support for glj --aot file.glj > file.go wip: Add support for glj --aot file.glj > file.go Sep 29, 2025
@ingydotnet ingydotnet marked this pull request as ready for review September 30, 2025 00:51
@ingydotnet ingydotnet mentioned this pull request Sep 30, 2025
@ingydotnet
Copy link
Contributor Author

Closing this. Will make into smaller PRS.

@ingydotnet ingydotnet closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant