Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove suck | Přemysl Janouch | 2017-05-26 | 1 | -82/+84 |
| | | | | | | struct context::arguments stank, the "arg" special form stank. The amount of lines this adds can be counted on one hand. | ||||
* | Implement dynamic scoping | Přemysl Janouch | 2017-05-26 | 1 | -34/+74 |
| | | | | | | Okay, that was a PITA to not have. But I think I'm set now, feature-wise. | ||||
* | Simplify ".." | Přemysl Janouch | 2017-05-26 | 1 | -3/+1 |
| | |||||
* | Add "values" | Přemysl Janouch | 2017-05-26 | 1 | -0/+5 |
| | | | | This oneliner is way too important to be left out. | ||||
* | Make and/or more useful | Přemysl Janouch | 2017-05-26 | 1 | -10/+23 |
| | | | | Now they follow Scheme, they just aren't special forms here. | ||||
* | Simplify runtime library initialization | Přemysl Janouch | 2017-05-25 | 1 | -63/+52 |
| | | | | And remove the error printing side effect, just like that, at a cost. | ||||
* | Finish implementation of printing | Přemysl Janouch | 2017-05-25 | 1 | -32/+99 |
| | | | | | | | | Now readds all syntax sugar and quotes strings properly. Removed automatic line breaking and indenting since it is complicated. Removed #ifndef since it stopped making any sense. | ||||
* | Fix "if" | Přemysl Janouch | 2017-05-25 | 1 | -11/+18 |
| | | | | Blocks didn't work. | ||||
* | Replace for/break with a try/throw mechanism | Přemysl Janouch | 2017-05-25 | 1 | -41/+6 |
| | |||||
* | Cleanup | Přemysl Janouch | 2017-05-25 | 1 | -2/+2 |
| | |||||
* | Add try/throw | Přemysl Janouch | 2017-05-25 | 1 | -0/+34 |
| | |||||
* | Fix "-" | Přemysl Janouch | 2017-05-25 | 1 | -1/+6 |
| | |||||
* | Add "parse" | Přemysl Janouch | 2017-05-25 | 1 | -0/+16 |
| | |||||
* | Make setting "set" also return the value | Přemysl Janouch | 2017-05-25 | 1 | -0/+1 |
| | |||||
* | Get rid of "error_is_fatal" | Přemysl Janouch | 2017-05-25 | 1 | -2/+0 |
| | |||||
* | Simplify truthy() | Přemysl Janouch | 2017-05-24 | 1 | -3/+1 |
| | |||||
* | Make the lexer follow an unsigned string | Přemysl Janouch | 2017-05-24 | 1 | -6/+6 |
| | | | | Much safer this way, allows omitting "unsigned char" temporaries. | ||||
* | Simplify the lexer | Přemysl Janouch | 2017-05-24 | 1 | -73/+40 |
| | |||||
* | Simplify item management | Přemysl Janouch | 2017-05-24 | 1 | -27/+8 |
| | |||||
* | "filter" is not a primitive | Přemysl Janouch | 2017-05-23 | 1 | -31/+2 |
| | |||||
* | Fix "unless" | Přemysl Janouch | 2017-05-21 | 1 | -2/+1 |
| | | | | Best of all is, I don't even know why it must be like that. | ||||
* | Refactor argument saving | Přemysl Janouch | 2017-05-21 | 1 | -16/+16 |
| | | | | While nothing has been achieved, at least now it should be obvious. | ||||
* | Specify argument in which an error happened | Přemysl Janouch | 2017-05-21 | 1 | -9/+23 |
| | |||||
* | Remove some ancient stupidity | Přemysl Janouch | 2017-05-21 | 1 | -40/+36 |
| | |||||
* | Reorganize evaluation code | Přemysl Janouch | 2017-05-21 | 1 | -71/+67 |
| | |||||
* | Fix crash in print_tree() | Přemysl Janouch | 2017-05-21 | 1 | -1/+2 |
| | |||||
* | Allow calling literal blocks | Přemysl Janouch | 2017-05-21 | 1 | -11/+22 |
| | |||||
* | Update README | Přemysl Janouch | 2017-05-21 | 1 | -0/+1 |
| | |||||
* | Fix backtrace generation | Přemysl Janouch | 2017-05-21 | 1 | -0/+1 |
| | |||||
* | Split out the interpreter | Přemysl Janouch | 2017-05-21 | 1 | -54/+0 |
| | |||||
* | Fix combined operators | Přemysl Janouch | 2017-05-21 | 1 | -4/+4 |
| | |||||
* | Add numerical comparisons | Přemysl Janouch | 2017-05-21 | 1 | -1/+37 |
| | |||||
* | Add "ne?", "ge?", "le?", "gt?" | Přemysl Janouch | 2017-05-21 | 1 | -2/+7 |
| | | | | At least in some form. | ||||
* | Add "eq?" and "lt?" | Přemysl Janouch | 2017-05-21 | 1 | -1/+32 |
| | |||||
* | Add boolean operators | Přemysl Janouch | 2017-05-21 | 1 | -1/+26 |
| | |||||
* | Omit trailing zeros when not necessary | Přemysl Janouch | 2017-05-21 | 1 | -15/+15 |
| | |||||
* | Add arithmetics | Přemysl Janouch | 2017-05-21 | 1 | -1/+49 |
| | |||||
* | Add "system" | Přemysl Janouch | 2017-05-21 | 1 | -1/+28 |
| | |||||
* | Move native functions into the context | Přemysl Janouch | 2017-05-21 | 1 | -72/+55 |
| | |||||
* | Add "break" for breaking out of loops | Přemysl Janouch | 2017-05-21 | 1 | -4/+25 |
| | |||||
* | set() can unset now | Přemysl Janouch | 2017-05-21 | 1 | -21/+27 |
| | | | | Fixing two bugs with this commit. | ||||
* | Fix memory leak on evaluation error | Přemysl Janouch | 2017-05-21 | 1 | -0/+3 |
| | |||||
* | Fix missing argument values | Přemysl Janouch | 2017-05-21 | 1 | -7/+8 |
| | |||||
* | Fix invalid memory access in debug code | Přemysl Janouch | 2017-05-21 | 1 | -6/+5 |
| | |||||
* | Fix for, map, filter | Přemysl Janouch | 2017-05-21 | 1 | -22/+29 |
| | |||||
* | Make ; a synonym for a newline | Přemysl Janouch | 2017-05-21 | 1 | -3/+3 |
| | |||||
* | Slightly fix fn_concatenate() | Přemysl Janouch | 2017-05-21 | 1 | -2/+2 |
| | |||||
* | Implement if, for, map, filter | Přemysl Janouch | 2017-05-21 | 1 | -33/+159 |
| | |||||
* | Do away with POSIX | Přemysl Janouch | 2017-05-21 | 1 | -12/+6 |
| | |||||
* | Decided: () is our nil/undef | Přemysl Janouch | 2017-05-21 | 1 | -2/+4 |
| |