Releases: Zolang/Zolang
Releases · Zolang/Zolang
0.1.19
Minor doc changes
0.1.18
Minor compilation speed improvements
0.1.17
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
Fixes bug with list literals in variable declaration
0.1.15
Add dictionary type
Add feature dictionary literal
0.1.14
Fix parsing for /
infix operator
0.1.13
- Bug fixes here and there
- Prep for Python support
0.1.12
Add feature hot reloading + some minor bug fixes
You can now run zolang watch
to observe changes to source files
0.0.11
Bug fixes
0.0.10
- Improve CLI
- Add convenience infix operators as well as modulus, multiplied by and divided by