Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix .. in block helpers | Jesse Luehrs | 2013-01-02 | 2 | -9/+18 |
| | |||||
* | depend on newer xslate | Jesse Luehrs | 2013-01-02 | 1 | -0/+1 |
| | |||||
* | gfx doesn't want to support a render_string opcode | Jesse Luehrs | 2013-01-02 | 2 | -5/+11 |
| | |||||
* | find_file and suffix are now opcodes | Jesse Luehrs | 2013-01-02 | 2 | -11/+17 |
| | |||||
* | simplify the logic for template suffixes | Jesse Luehrs | 2013-01-02 | 2 | -39/+13 |
| | | | | | | | now, anything that doesn't contain a '.' will have the suffix appended unconditionally, rather than looking for both the suffixed and unsuffixed versions. this is more in line with how text::xslate typically works. | ||||
* | move most of find_file into the compiler | Jesse Luehrs | 2013-01-02 | 2 | -8/+41 |
| | |||||
* | simplify | Jesse Luehrs | 2013-01-02 | 1 | -10/+12 |
| | |||||
* | avoid calling find_file multiple times | Jesse Luehrs | 2013-01-02 | 1 | -8/+20 |
| | |||||
* | don't constant-fold render_string | Jesse Luehrs | 2013-01-02 | 1 | -1/+3 |
| | |||||
* | merge_hash is now an opcode | Jesse Luehrs | 2013-01-02 | 2 | -5/+22 |
| | |||||
* | reimplement new_vars_for in terms of merge_hash | Jesse Luehrs | 2013-01-02 | 2 | -28/+149 |
| | |||||
* | turned render_string into an opcode | Jesse Luehrs | 2013-01-02 | 2 | -11/+5 |
| | |||||
* | reimplement run_code in terms of render_string | Jesse Luehrs | 2013-01-02 | 2 | -11/+74 |
| | |||||
* | is_code_ref can now be an opcode too | Jesse Luehrs | 2013-01-02 | 2 | -7/+14 |
| | |||||
* | this weaken is unnecessary | Jesse Luehrs | 2012-10-15 | 1 | -2/+1 |
| | |||||
* | 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 |
| |