kpdecker
75a4f0d931
Negative number literal support
...
Fixes #422
2013-02-15 20:22:11 -06:00
Les Hill
4bb794d814
Partials can be paths
...
Allows partials with slashes, a common partial syntax. For example:
{{> shared/dude}}
2012-12-13 11:15:38 -08:00
Yehuda Katz
a927a9b0ad
Add block comment syntax:
...
{{!-- can contain
{{handlebars expressions}} --}}
2012-10-15 13:51:53 -04:00
Les Hill
a1c9acb8b1
Escaped single quotes in hash arguments
2012-09-22 08:09:33 -07:00
tomhuda
5a6e4f1ddd
Fix repeated delimiter escaping
2012-09-12 20:44:48 -07:00
Yehuda Katz
72e05d623c
Add support for @data variables
2012-07-05 22:43:05 -07:00
Yehuda Katz
c79c761460
Add support for escaping mustaches
2011-12-27 17:04:59 -08:00
Yehuda Katz
373d10edb1
Literal square-bracket path segments cannot have ] in them. TODO: Allow escaped path segments.
2011-12-27 01:21:53 -08:00
kpdecker
aaec001931
Split the tests into compiler and vm tests
2011-07-30 15:26:21 -05:00
tomhuda
1482f1ae72
Add BOOLEAN support
2011-06-01 22:57:22 -07:00
tomhuda
0f78345d0c
Add support for INTEGER expressions
2011-06-01 22:33:48 -07:00
wycats
a4ca50533d
Add support for line-breaks in mustaches
2011-05-12 12:23:15 -07:00
tomhuda
e0aa705f71
Add support for hash args in the tokenizer and parser
2011-03-03 21:33:28 -08:00
tomhuda
51d2543ba1
Add support for {{foo.bar.baz}}
2011-03-03 20:08:28 -08:00
wycats
4d501b6613
Need to require timeout
2011-02-07 19:41:35 -08:00
wycats
bf6c74aa83
Restructure things more simply
2010-12-29 18:21:43 -08:00
Zach Carter
97536f897e
Switch to Jison's lexer.
2010-12-14 19:07:05 -05:00
wycats
762329913d
Fix a number of outstanding issues:
...
* {{}} escape their contents, {{{}}} and {{& }} do not
* Add support in the parser, tokenizer and AST for partials
with context (support is still not there in the runtime)
* Fix some inconsistencies with the old behavior involving
the correct printing of null and undefined
* Add Handlebars.Exception
* Fixed an issue involving ./foo and this/foo
* Fleshed out helperMissing in the specs (this will be
moved out into handlebars proper once registerHelper
and registerPartial are added)
2010-12-02 01:13:24 -05:00
wycats
f8b245896d
Make the ID node capable of handling paths
...
TODO: handle invalid paths in the tokenizer or parser
TODO: invalidate "{{ foo/ bar }}"
2010-11-25 16:12:50 -08:00
wycats
7d0204bf9f
Add some more tests, and properly handle errors across the boundary in tests
2010-11-25 16:09:42 -08:00
wycats
4624eddf0b
The tokenizer shouldn't get into an infinite loop in certain termination conditions
2010-11-25 12:46:25 -08:00
wycats
83fa737e04
Add tests for the tokenizer using RubyRacer
2010-11-25 11:53:41 -08:00