Releases: ulkajs-zz/ulka-parser
Releases · ulkajs-zz/ulka-parser
v0.3.0
- Array with async members returns a string with waited value.
v0.2.11
- Require files other than javascript.
0.2.10 - Destructuring support
- Supports destructuring syntax.
- Replace const and let with var.
Array is joined by default
Prev:
{% [1, 2, 3] %} => 1,2,3
Now:
{% [1, 2, 3] %} => 123
Absolute require local files
- Require local files using absolute path.
- Readme updated
Support for Async/Await
Now Ulka-Praser suports async await.
Parse function now returns promise.
Minus Tag, Expres engine bug fix
-
Minus sign after {% now returns empty string only
{% const name = "Roshan Acharya" %}
{%- name %} (returns empty string) -
Bug fixes
Require Syntax and Return on Assignment
require
syntax can be used inside ulka files.- Equal sign after
{%
now allows to return value even after variable assignment.
{%= const name = "Roshan Acharya" %}
// Roshan Acharya
Command line feature
ulka-parser is able to parse and convert .ulka files to .html files from command line directly.
ulka-parser --template /path/to/template/folder/or/file --output /path/to/output/folder
short options can also be used
- --template => -t
- --output => -o
First release. - 0.1.0
npm install ulka-parser