Andreas Stenius
|
e6a0dea702
Check that extends-templates don't use non-block tags.
|
11 years ago |
Andreas Stenius
|
fc5fb603b1
support translation fun initialization.
|
11 years ago |
Andreas Stenius
|
51cc7e1935
align compile vs render options for translation (#131)
|
11 years ago |
Andreas Stenius
|
88d3fd414e
Fix #61: add compile options default_vars and constants
|
11 years ago |
Andreas Stenius
|
ad43f6ed7e
New option for 0-based tuple access (#156)
|
11 years ago |
Andreas Stenius
|
9e8134213b
New option for 0-based list access (fixes #156)
|
11 years ago |
Andreas Stenius
|
bbe5be8f72
Add more filter escape tests (fixes #150)
|
11 years ago |
Andreas Stenius
|
76736d8377
Add tests for `compile_dir` (fixes #146)
|
11 years ago |
Andreas Stenius
|
a0b58deeec
New debug options to not lean on the debug_info option (fixes #139)
|
11 years ago |
Andreas Stenius
|
ee261d4cd4
Nice error message on missing legacy library (#85)
|
11 years ago |
Andreas Stenius
|
3e8ee1be91
Add spec's for compile options (fixes #133)
|
11 years ago |
Andreas Stenius
|
507c6d7568
Introduce different verbosity levels.
|
11 years ago |
Andreas Stenius
|
c7b28838ed
Don't throw errors around, add them to the context (#85)
|
11 years ago |
Andreas Stenius
|
7bfc99ed89
Add erlydtl_library behaviour with accompanying options (fixes #137)
|
11 years ago |
Andreas Stenius
|
26b6a793e1
Restructure compiler code (close #136)
|
11 years ago |
Andreas Stenius
|
a1c91987b7
Use merl [1] for compiling the erlang AST tree (fixes #123).
|
11 years ago |
Andreas Stenius
|
8c876fde4c
Fix #132 according to comments in that pull request.
|
11 years ago |
Сергей Прохоров
|
8ea79fadb4
Drop unnecessary 3'rd argument of `erlydtl_runtime:translate/3`
|
11 years ago |
Сергей Прохоров
|
9f5e694da9
Don't distinguish trans and blocktrans in internal code; fix opts.
|
11 years ago |
Сергей Прохоров
|
1caea0562a
Compile-time translation of `{%trans%}` and `_(..)` by blocktrans_fun #131
|
11 years ago |
Andreas Stenius
|
aa23751375
Update api to be explicit about what to compile (fixes #125)
|
11 years ago |
Andreas Stenius
|
d840d7df19
Autoescape on by default (Close #120, see #80)
|
11 years ago |
Сергей Прохоров
|
a73d77c893
Runtime blocktrans compiler and runtime.
|
11 years ago |
Andreas Stenius
|
c8632206e3
Fix error reporting.
|
11 years ago |
Andreas Stenius
|
ca93672ec8
Add {out_dir, false} option to explicitly disable generating a .beam.
|
11 years ago |
Andreas Stenius
|
dd186c63cb
`compile_dir` templates should also stringify_final the result.
|
11 years ago |
Andreas Stenius
|
26cb8fc36e
Bring compile_dir up-to-date.
|
11 years ago |
Andreas Stenius
|
2737f5b398
Remaining issues reported by dialyzer
|
11 years ago |
Andreas Stenius
|
3462bd24d4
Add auto_escape option.
|
11 years ago |
Andreas Stenius
|
a94d1fe237
Clean up generated code.
|
11 years ago |