Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | simplify | Jesse Luehrs | 2012-10-14 | 1 | -13/+6 |
| | |||||
* | this doesn't need to be a function either | Jesse Luehrs | 2012-10-14 | 2 | -11/+53 |
| | |||||
* | neither does make_hash | Jesse Luehrs | 2012-10-14 | 2 | -5/+11 |
| | |||||
* | make_array doesn't need to be a function | Jesse Luehrs | 2012-10-14 | 2 | -6/+12 |
| | |||||
* | generate the opcodes for this directly | Jesse Luehrs | 2012-10-14 | 1 | -1/+44 |
| | |||||
* | pod coverage | Jesse Luehrs | 2012-10-08 | 2 | -0/+37 |
| | |||||
* | remove the abstract here | Jesse Luehrs | 2012-10-08 | 1 | -1/+0 |
| | |||||
* | docs | Jesse Luehrs | 2012-10-08 | 1 | -0/+155 |
| | |||||
* | make this a bit more explicit | Jesse Luehrs | 2012-10-08 | 2 | -1/+7 |
| | |||||
* | this is already a built-in thing | Jesse Luehrs | 2012-10-08 | 2 | -5/+1 |
| | |||||
* | check partial suffix at runtime, not compile time | Jesse Luehrs | 2012-10-08 | 2 | -17/+4 |
| | |||||
* | move more code into the compiler | Jesse Luehrs | 2012-10-08 | 2 | -143/+143 |
| | |||||
* | simplify | Jesse Luehrs | 2012-10-08 | 2 | -10/+21 |
| | |||||
* | move more bits into the compiler | Jesse Luehrs | 2012-10-08 | 2 | -16/+41 |
| | |||||
* | implement hash args for normal helpers | Jesse Luehrs | 2012-10-08 | 2 | -3/+10 |
| | |||||
* | implement hash parameters for block helpers | Jesse Luehrs | 2012-10-08 | 3 | -2/+54 |
| | |||||
* | make block helpers recognizable as helpers | Jesse Luehrs | 2012-10-08 | 2 | -8/+8 |
| | |||||
* | move this earlier | Jesse Luehrs | 2012-10-05 | 1 | -10/+10 |
| | |||||
* | and... didn't need these parts of that file | Jesse Luehrs | 2012-10-05 | 1 | -8/+0 |
| | |||||
* | whoops, forgot to add this file a while ago | Jesse Luehrs | 2012-10-05 | 1 | -0/+22 |
| | |||||
* | rename a few things | Jesse Luehrs | 2012-10-05 | 2 | -6/+6 |
| | |||||
* | move lambda checking for keys out of the parser | Jesse Luehrs | 2012-10-05 | 2 | -43/+64 |
| | |||||
* | simplify the parsing logic significanly by redefining expression | Jesse Luehrs | 2012-10-05 | 1 | -50/+25 |
| | | | | | the handlebars language isn't a typical infix-style thing, so it makes sense that expressions will have differerent meanings here | ||||
* | simplify | Jesse Luehrs | 2012-10-05 | 1 | -8/+12 |
| | |||||
* | restructure this to mirror expression() more closely | Jesse Luehrs | 2012-10-05 | 1 | -1/+2 |
| | |||||
* | this went away a while ago | Jesse Luehrs | 2012-10-05 | 1 | -3/+1 |
| | |||||
* | since functions and helpers are different, drop this special case | Jesse Luehrs | 2012-10-05 | 2 | -5/+14 |
| | |||||
* | change back to defining helpers and functions separately | Jesse Luehrs | 2012-10-05 | 3 | -0/+37 |
| | | | | | | helpers are different from functions because they implicitly receive the current context as the first argument, so they need to be declared differently. they work identically to functions in all other respects. | ||||
* | why was i defining things there? | Jesse Luehrs | 2012-10-05 | 1 | -23/+20 |
| | |||||
* | remove debugging code | Jesse Luehrs | 2012-10-05 | 1 | -1/+0 |
| | |||||
* | hack to make normal helpers work for now | Jesse Luehrs | 2012-10-05 | 1 | -2/+11 |
| | | | | | | | | thinking about it some more, defining helpers separately from builtin functions is a better idea, because helpers have to automatically receive the context object, which makes them different from normal functions. right now, i'm just special-casing mark_raw to avoid passing the context object to it, but it needs to be more general than that | ||||
* | special case {{{.}}} (not dealing with {{foo . bar}} in general) | Jesse Luehrs | 2012-10-05 | 1 | -10/+16 |
| | |||||
* | implement {{^}} in normal blocks | Jesse Luehrs | 2012-10-05 | 2 | -68/+52 |
| | | | | also, greatly simplify the logic for blocks in general | ||||
* | actually, @foo just seems to be another kind of variable? | Jesse Luehrs | 2012-10-05 | 2 | -20/+2 |
| | | | | | | | | | really can't tell what the difference is between passing data in as normal template variables and passing them in as "template data" probably just won't support template data until someone can explain this better, because the handlebars test suite isn't very clear on the subject | ||||
* | implement {{^}} as an alias for {{else}} | Jesse Luehrs | 2012-10-05 | 1 | -0/+4 |
| | |||||
* | support {{@index}} | Jesse Luehrs | 2012-10-05 | 1 | -7/+34 |
| | |||||
* | support {{this/foo}} | Jesse Luehrs | 2012-10-05 | 1 | -2/+2 |
| | |||||
* | Add an ABSTRACT to silence dzil | Shawn M Moore | 2012-10-05 | 1 | -0/+1 |
| | |||||
* | allow - in identifiers | Jesse Luehrs | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | simplify | Jesse Luehrs | 2012-10-05 | 1 | -7/+1 |
| | |||||
* | simplify | Jesse Luehrs | 2012-10-05 | 1 | -8/+6 |
| | |||||
* | implement else blocks | Jesse Luehrs | 2012-10-05 | 2 | -13/+59 |
| | |||||
* | simplify | Jesse Luehrs | 2012-10-04 | 1 | -4/+9 |
| | |||||
* | allow [] for dereferencing with literals | Jesse Luehrs | 2012-10-04 | 1 | -0/+15 |
| | |||||
* | support [] to mean literal strings | Jesse Luehrs | 2012-10-04 | 1 | -2/+47 |
| | |||||
* | make {{this}} an alias to {{.}} and make them work at the top level | Jesse Luehrs | 2012-10-04 | 2 | -1/+26 |
| | |||||
* | implement the built-in block helpers | Jesse Luehrs | 2012-10-04 | 1 | -0/+31 |
| | |||||
* | refactor this so that helpers are just normal functions | Jesse Luehrs | 2012-10-04 | 2 | -17/+17 |
| | |||||
* | standalone lines need to be autochomped in raw_text too | Jesse Luehrs | 2012-10-04 | 1 | -14/+18 |
| | |||||
* | better check for matching closing tags | Jesse Luehrs | 2012-10-04 | 1 | -2/+22 |
| |