Hand-crafted parser:
Building LISP: http://www.lwh.jp/lisp/index.html
- Parser: http://www.lwh.jp/lisp/parser.html
Full source: https://github.com/kimtg/ToyLisp
HN user
Hand-crafted parser:
Building LISP: http://www.lwh.jp/lisp/index.html
- Parser: http://www.lwh.jp/lisp/parser.html
Full source: https://github.com/kimtg/ToyLisp
Author here. L++ (Lisp-flavored C++) https://bitbucket.org/ktg/l
Good article
LispScript | https://bitbucket.org/ktg/lispscript
Try LispScript | http://ktg.bitbucket.org/lispscript/lispscript.html
In for, in-range is faster.
http://docs.racket-lang.org/reference/sequences.html?q=in-ra...
An in-range application can provide better performance for number iteration when it appears directly in a for clause.
-> (for ([i (in-range 1 16)])
(match (list (modulo i 3) (modulo i 5))
[(list 0 0) (displayln "fizzbuzz")]
[(list 0 _) (displayln "fizz")]
[(list _ 0) (displayln "buzz")]
[_ (displayln i)]))See also fn.js (Functional JavaScript Library)| https://bitbucket.org/ktg/fn
Flappy Bird in Racket | https://github.com/soegaard/flappy-bird
L++ is a programming language that transcompiles to C++. It uses Lisp-like syntax. Macros are supported via Racket's macro system define-syntax, define-syntax-rule and defmacro.
v0.2: Macros are supported via Racket's macro system define-syntax.
L++ website | https://bitbucket.org/ktg/l
Previous post (not by me) | https://news.ycombinator.com/item?id=7711755
Links
Paren | https://bitbucket.org/ktg/paren
ParenJ | https://bitbucket.org/ktg/parenj
Paren# | https://bitbucket.org/ktg/parensharp
Javascript is a pretty cool programming language heavily influenced by Scheme. -> I couldn't agree with you more.
There is a Lisp-to-JS compiler (ParenJS). https://bitbucket.org/ktg/parenjs
Parenjs: Lisp-to-JavaScript compiler https://bitbucket.org/ktg/parenjs
Very Newbie-friendly Clojure IDE (GUI REPL).
Double click JAR_FILE to run.