aboutsummaryrefslogtreecommitdiff
path: root/eval.c
AgeCommit message (Collapse)Author
2014-05-17move builtin functions to their own functions out of eval()Oskari Timperi
2014-05-17refactor code to use LIST from sys/queue.hOskari Timperi
It's now easier and more natural to work with the code. :-P
2014-05-16fix: use eval_env() when evaluating stuff\!Oskari Timperi
2014-05-15eval symbols and allow defining variablesOskari Timperi
2014-05-15fix eval() and eval_str() to use empty environments as args to ↵Oskari Timperi
eval_env()/eval_str_env()
2014-05-15add eval functions that take env as argument (no env support yet)Oskari Timperi
2014-05-14eval: more testsOskari Timperi
2014-05-14eval: miscOskari Timperi
2014-05-14eval: add 'mod' functionOskari Timperi
2014-05-14Initial commitOskari Timperi
- tokenizing, parsing and basic eval support - arithmetic (+, -, *, /) - quote - atom for checking if the arg is an atom (i.e. not a list) - eq for checking equality - > for checking order - if - some unit testing - simple repl - mem management needs improvement :-)