-
Notifications
You must be signed in to change notification settings - Fork 0
MSonD/Dw
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Dw DW is a experimental lisp-like scripting language. Right now is nearly useless. Examples: (+ 5 7) => 12 5 (* 5 1) =>[5 5] let x (def (+ 4 2)) => //some tokens x => 6 if (> 9 8) ("GOOd")("not good") => "GOOd" let super (def (x y) (+ (* x x) (* y y))) => //a lot of tokens super 2 3 => 13 The lexer is really stable and even uses message passing to send tokens to the parser. Tree building is quite ugly and there is room for optimization. Parsing is messy and there are lots of things to improve (hint, using std.variant all the way around[quite useful but costly < I think >] )
About
weird lang
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published