Projetos
Ver no GitHub
jcla1/gisp
Sobre
LISP simples em Go.
Outros projetosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalgisp
Simple (non standard) compiler of Lisp/Scheme to Go.
Includes
- Lexer based on Rob Pike's Lexical Scanning in Go
- Simple recursive parser, supporting ints, floats, strings, bools
- TCO via loop/recur
- AST generating REPL included
Build and Run
> go build && ./gisp
>>
From here you can type in forms and you'll get the Go AST back. To compile a file:
> ./gisp filename.gsp
Functions
+, -, *, mod, let, if, ns, def, fn, all pre-existing Go functions
See examples for some Project Euler solutions
License
MIT
Explore projetos relacionados
Carregando…