Skip to content

Releases: cesanta/elk

Elk 2.2.0

09 Jan 15:35
@cpq cpq
Compare
Choose a tag to compare
  • Added ternary operator a ? b : c
  • Added unit test for ternary operator and recursive function calls

2.1.2

30 Oct 16:23
@cpq cpq
Compare
Choose a tag to compare
  • Enhanced CLI utility
  • Fixed expression evaluation with function calls, e.g. f() + 1

2.1.1

21 Oct 11:46
@cpq cpq
Compare
Choose a tag to compare
  • OSS license change to a stronger copyleft: GPLv2 -> AGPLv3

2.1.0

30 Sep 12:27
@cpq cpq
Compare
Choose a tag to compare
  • Speed up elk: instead of invoking GC before each top-level statement, invoke only free mem is 75% or more full
  • Add js_mkstr() and js_mknum() functions for hand-crafting objects exported to JS environment

2.0.9

21 Sep 07:26
@cpq cpq
Compare
Choose a tag to compare
  • Fix nul-termination in mkentity() which made strings with garbage at the end

2.0.8

10 May 08:46
@cpq cpq
Compare
Choose a tag to compare
  • Refactor while loop handling, with better GC strategy for it

2.0.7

09 May 14:49
@cpq cpq
Compare
Choose a tag to compare
  • Removed JS_GC_THRESHOLD
  • Automatic aggressive GC strategy: run GC before every top-level statement

2.0.6

08 May 18:48
@cpq cpq
Compare
Choose a tag to compare
  • Added more function tests
  • Added Esp32JS example sketch with the JS editor

2.0.5

05 May 08:26
@cpq cpq
Compare
Choose a tag to compare
  • Handle line comments in the JS source
  • Handle block comments in the JS source

2.0.4

04 May 09:33
@cpq cpq
Compare
Choose a tag to compare
  • else condition implemented