Skip to content

Releases: ulkajs-zz/ulka-parser

v0.3.0

24 Sep 04:41
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Array with async members returns a string with waited value.

v0.2.11

24 Sep 04:40
Compare
Choose a tag to compare
v0.2.11 Pre-release
Pre-release
  • Require files other than javascript.

0.2.10 - Destructuring support

28 Aug 10:23
3874048
Compare
Choose a tag to compare
Pre-release
  • Supports destructuring syntax.
  • Replace const and let with var.

Array is joined by default

13 Aug 03:14
Compare
Choose a tag to compare
Pre-release

Prev:

{% [1, 2, 3]  %} => 1,2,3

Now:

{% [1, 2, 3] %} => 123

Absolute require local files

09 Aug 13:42
Compare
Choose a tag to compare
Pre-release
  • Require local files using absolute path.
  • Readme updated

Support for Async/Await

06 Aug 17:56
bb3912f
Compare
Choose a tag to compare
Pre-release

Now Ulka-Praser suports async await.
Parse function now returns promise.

Minus Tag, Expres engine bug fix

06 Aug 13:35
Compare
Choose a tag to compare
Pre-release
  • Minus sign after {% now returns empty string only
    {% const name = "Roshan Acharya" %}
    {%- name %} (returns empty string)

  • Bug fixes

Require Syntax and Return on Assignment

06 Aug 12:28
Compare
Choose a tag to compare
Pre-release
  • 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

16 Jul 13:07
Compare
Choose a tag to compare
Command line feature Pre-release
Pre-release

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

16 Jul 08:31
Compare
Choose a tag to compare
Pre-release
npm install ulka-parser