summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars/Compiler.pm
Commit message (Collapse)AuthorAgeFilesLines
* find_file and suffix are now opcodesJesse Luehrs2012-10-191-4/+17
|
* simplify the logic for template suffixesJesse Luehrs2012-10-191-38/+12
| | | | | | | 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 compilerJesse Luehrs2012-10-191-4/+37
|
* simplifyJesse Luehrs2012-10-191-10/+12
|
* avoid calling find_file multiple timesJesse Luehrs2012-10-191-8/+20
|
* don't constant-fold render_stringJesse Luehrs2012-10-181-1/+3
|
* merge_hash is now an opcodeJesse Luehrs2012-10-181-1/+22
|
* reimplement new_vars_for in terms of merge_hashJesse Luehrs2012-10-181-8/+146
|
* turned render_string into an opcodeJesse Luehrs2012-10-151-7/+5
|
* reimplement run_code in terms of render_stringJesse Luehrs2012-10-151-6/+72
|
* is_code_ref can now be an opcode tooJesse Luehrs2012-10-151-3/+14
|
* this doesn't need to be a function eitherJesse Luehrs2012-10-141-2/+53
|
* neither does make_hashJesse Luehrs2012-10-141-1/+11
|
* make_array doesn't need to be a functionJesse Luehrs2012-10-141-2/+12
|
* generate the opcodes for this directlyJesse Luehrs2012-10-141-1/+44
|
* pod coverageJesse Luehrs2012-10-081-0/+10
|
* make this a bit more explicitJesse Luehrs2012-10-081-1/+2
|
* this is already a built-in thingJesse Luehrs2012-10-081-1/+1
|
* check partial suffix at runtime, not compile timeJesse Luehrs2012-10-081-15/+2
|
* move more code into the compilerJesse Luehrs2012-10-081-50/+138
|
* simplifyJesse Luehrs2012-10-081-0/+11
|
* move more bits into the compilerJesse Luehrs2012-10-081-0/+30
|
* implement hash args for normal helpersJesse Luehrs2012-10-081-2/+9
|
* implement hash parameters for block helpersJesse Luehrs2012-10-081-0/+31
|
* rename a few thingsJesse Luehrs2012-10-051-1/+1
|
* move lambda checking for keys out of the parserJesse Luehrs2012-10-051-0/+46
|
* change back to defining helpers and functions separatelyJesse Luehrs2012-10-051-0/+2
| | | | | | 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.
* remove debugging codeJesse Luehrs2012-10-031-15/+0
|
* make suffixes work for partialsJesse Luehrs2012-10-031-0/+12
|
* handle inverted sectionsJesse Luehrs2012-10-021-4/+6
|
* get blocks workingJesse Luehrs2012-09-281-0/+38