Skip to content

Releases: Zolang/Zolang

0.1.19

01 Jun 22:07
ebfd7f8
Compare
Choose a tag to compare
0.1.19 Pre-release
Pre-release

Minor doc changes

0.1.18

31 Dec 02:19
Compare
Choose a tag to compare
0.1.18 Pre-release
Pre-release

Minor compilation speed improvements

0.1.17

15 Oct 03:30
82e7bae
Compare
Choose a tag to compare
0.1.17 Pre-release
Pre-release

0.1.17

Users can now use the metaprogramming features raw and only

raw

raw {'Any text here'}

This will tell the compiler to skip the code generation process for "Any text here" and forward it as is to the compilers output

only

only "<flag1>", "<flag2>",... { <code> }

Using only we can tell the compiler to ignore code for buildSettings not included in a comma separated list of flags

only "python2.7", "swift" {
  print("text")
}

Putting it all Together

Using these two features (raw & only) we could create a facade for logging to the console:

describe Sys {
  static log return from (txt as text) {
    only "python2.7", "swift" {
      raw {'print(txt)'}
    }
    only "kotlin" {
      raw {'println(txt)'}
    }
  }
}

Sys.log("Hello World!")

0.1.16

14 Oct 10:49
Compare
Choose a tag to compare
0.1.16 Pre-release
Pre-release

Fixes bug with list literals in variable declaration

0.1.15

14 Oct 00:59
6487a15
Compare
Choose a tag to compare
0.1.15 Pre-release
Pre-release

Add dictionary type

Add feature dictionary literal

0.1.14

08 Oct 10:37
010dba2
Compare
Choose a tag to compare
0.1.14 Pre-release
Pre-release

Fix parsing for / infix operator

0.1.13

07 Oct 20:58
Compare
Choose a tag to compare
0.1.13 Pre-release
Pre-release
  • Bug fixes here and there
  • Prep for Python support

0.1.12

03 Oct 10:30
Compare
Choose a tag to compare
0.1.12 Pre-release
Pre-release

Add feature hot reloading + some minor bug fixes

You can now run zolang watch to observe changes to source files

0.0.11

01 Oct 23:39
6b0dfe9
Compare
Choose a tag to compare
0.0.11 Pre-release
Pre-release

Bug fixes

0.0.10

01 Oct 22:55
Compare
Choose a tag to compare
0.0.10 Pre-release
Pre-release
  • Improve CLI
  • Add convenience infix operators as well as modulus, multiplied by and divided by