Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Warn on division by zero, instead of crashing. | Tavian Barnes | 2010-04-17 | 1 | -6/+36 |
| | |||||
* | Improve CSG and light handling. | Tavian Barnes | 2010-04-10 | 1 | -6/+3 |
| | | | | | | - Lights can be inside CSG objects - Lights can be modified by transformations - CSG objects can contain only one object | ||||
* | New dmnsn_malloc() function, and friends. | Tavian Barnes | 2010-04-07 | 1 | -39/+11 |
| | | | | | | I'm tired of checking for malloc failures everywhere, considering it never happens. So just bail out whenever it does. A lot of stuff is guaranteed to succeed if it returns now. | ||||
* | Whitespace fix. | Tavian Barnes | 2010-03-23 | 1 | -1/+1 |
| | |||||
* | Implement macro support. | Tavian Barnes | 2010-03-23 | 1 | -1/+6 |
| | |||||
* | Implement most vector functions. | Tavian Barnes | 2010-03-23 | 1 | -2/+187 |
| | |||||
* | Support the ternary operator. | Tavian Barnes | 2010-03-22 | 1 | -0/+32 |
| | |||||
* | Handle built-in vector IDs the same way as floats. | Tavian Barnes | 2010-03-22 | 1 | -18/+51 |
| | |||||
* | Add built-in float constants. | Tavian Barnes | 2010-03-22 | 1 | -0/+32 |
| | |||||
* | Support logical ! operator. | Tavian Barnes | 2010-03-22 | 1 | -0/+9 |
| | |||||
* | Support max() and min(). | Tavian Barnes | 2010-03-20 | 1 | -0/+38 |
| | |||||
* | Implement almost all float functions. | Tavian Barnes | 2010-03-20 | 1 | -5/+186 |
| | |||||
* | A bunch more float functions. | Tavian Barnes | 2010-03-20 | 1 | -14/+143 |
| | |||||
* | Make float equality comparisons more relaxed. | Tavian Barnes | 2010-03-19 | 1 | -4/+8 |
| | |||||
* | Support exp(). | Tavian Barnes | 2010-03-19 | 1 | -0/+9 |
| | |||||
* | Clean up dmnsn_eval_{unary,binary}(). | Tavian Barnes | 2010-03-19 | 1 | -75/+88 |
| | |||||
* | Check for realloc() failures. | Tavian Barnes | 2010-03-12 | 1 | -0/+2 |
| | |||||
* | Check for malloc() failures. | Tavian Barnes | 2010-03-12 | 1 | -0/+2 |
| | |||||
* | Use PATRICIA tries for symbol table scopes. | Tavian Barnes | 2010-03-12 | 1 | -146/+309 |
| | |||||
* | Implement unit vectors. | Tavian Barnes | 2010-03-09 | 1 | -0/+52 |
| | |||||
* | Fix locations for expanded identifiers in dmnsn_eval(). | Tavian Barnes | 2010-03-08 | 1 | -1/+5 |
| | |||||
* | Add printf-style warnings to dmnsn_diagnostic, and fix bugs it found. | Tavian Barnes | 2010-02-11 | 1 | -2/+3 |
| | |||||
* | New dmnsn_assert() macro for invariant violations. | Tavian Barnes | 2010-02-09 | 1 | -6/+3 |
| | |||||
* | Support #include. | Tavian Barnes | 2010-02-09 | 1 | -0/+8 |
| | |||||
* | Implement #while. | Tavian Barnes | 2010-02-03 | 1 | -1/+1 |
| | |||||
* | Use dmnsn_new_ast_integer() in parsers. | Tavian Barnes | 2010-02-02 | 1 | -1/+3 |
| | |||||
* | Implement #if. | Tavian Barnes | 2010-02-02 | 1 | -15/+177 |
| | |||||
* | Fix dmnsn_eval_unary() leak. | Tavian Barnes | 2010-02-02 | 1 | -1/+62 |
| | |||||
* | Fix up license blurbs and copyright year. | Tavian Barnes | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Support #declare, #local, and #undef. | Tavian Barnes | 2009-12-21 | 1 | -157/+238 |
| | |||||
* | Make symbol table semantics line up with povray's. | Tavian Barnes | 2009-12-19 | 1 | -6/+65 |
| | |||||
* | Implement a symbol table. | Tavian Barnes | 2009-12-19 | 1 | -0/+582 |
| | |||||
* | Begin bison implementation of parser. | Tavian Barnes | 2009-11-23 | 1 | -803/+0 |
| | |||||
* | Fix parsing memory leaks, remove debug. | Tavian Barnes | 2009-11-20 | 1 | -13/+23 |
| | |||||
* | Evaluate arithmetic expressions during parsing when possible. | Tavian Barnes | 2009-11-20 | 1 | -19/+188 |
| | | | | | This is needed for conditionals to work, and for declared identifiers to be evaluated only once. | ||||
* | Add file, line, and column information to astnodes. | Tavian Barnes | 2009-11-05 | 1 | -24/+29 |
| | |||||
* | Some much-needed comments in parse.c. | Tavian Barnes | 2009-11-05 | 1 | -5/+53 |
| | |||||
* | Parse arithmetic expressions. | Tavian Barnes | 2009-11-04 | 1 | -55/+236 |
| | |||||
* | Handle spheres. | Tavian Barnes | 2009-11-04 | 1 | -3/+48 |
| | |||||
* | Implement dmnsn_print_astree_sexpr(). | Tavian Barnes | 2009-10-31 | 1 | -14/+90 |
| | |||||
* | Initialize `i' in dmnsn_parse(). | Tavian Barnes | 2009-10-30 | 1 | -0/+1 |
| | |||||
* | Refactor parsing and realization a bit. | Tavian Barnes | 2009-10-30 | 1 | -5/+7 |
| | |||||
* | (Sort of) parse boxes. | Tavian Barnes | 2009-10-30 | 1 | -2/+229 |
| | |||||
* | Skeleton of parser and realizer. | Tavian Barnes | 2009-10-29 | 1 | -0/+39 |