프로젝트
GitHub에서 보기
jcla1/gisp
소개
Go로 구현한 간단한 LISP
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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
관련 프로젝트 살펴보기
불러오는 중…