Commit Graph

5 Commits

Author SHA1 Message Date
wycats bf6c74aa83 Restructure things more simply 2010-12-29 18:21:43 -08:00
wycats 16ed2cd3f1 Refactoring and performance enhancements on the VM compiler 2010-12-21 09:47:27 -08:00
wycats fc0d721b96 Use pluggable logger rather the puts 2010-12-21 09:45:59 -08:00
wycats f4ae0c27fe Allow reserved words to be used without slowing down most operations in browsers with faster foo.bar vs. foo['bar']. 2010-12-19 00:06:30 -08:00
wycats b418ef6eb2 Add optimized compiled version of handlebars, which should be significantly faster. Use Handlebars.VM.compile instead of Handlebars.compile to use the optimized version.
Major TODOS:

* clean up a bunch of code duplication in the compiler
* reorganize the compiler
* add support for debug symbols which would make it possible
  to provide information about what part of the source caused
  a runtime error.
2010-12-18 23:27:34 -08:00