Releases: grol-io/grol
Releases · grol-io/grol
v0.34.0
This is a big release/set of changes! (see examples/ and more details below)
- extensibility, add any go function, used it for a lot of what follows:
- math functions (pow, trigonometry functions (sin,cos,tan,asin,acos,atan) etc)
- constants like PI and E
- floating point exponent (eg 1.2e-3), underscore number separator (eg 1_000_000)
- printf/printf
- variadic functions either go side and grol side using
..
special last argument
What's Changed
- Added support for extensions, including usage and args check - use it to add math functions by @ldemailly in #96
- Variadic grol side by @ldemailly in #99
- handle exponent notation floats and _s by @ldemailly in #104
- ALL_CAPS are now constants. Changed/shared recursive function environment. Fixed bug with macro environment. Added pprof. by @ldemailly in #102
More mundane:
- STRING token in right section, DebugString() compact mode by @ldemailly in #100
Full Changelog: v0.33.1...v0.34.0
Changelog
- 6b4aac6 ALL_CAPS are now constants. Changed/shared recursive function environment. Fixed bug with macro environment. Added pprof. (#102)
- 4d9664f Added support for extensions, including usage and args check - use it to add math functions (#96)
- 0011c9e STRING token in right section, DebugString() compact mode (#100)
- e6fb1f8 Variadic grol side (#99)
- e5f18a8 handle exponent notation floats and _s (#104)
v0.33.1
What's Changed
- (for Grol.io / wasm) Shorter 'share' by @ldemailly in #95
Full Changelog: v0.33.0...v0.33.1
Changelog
v0.33.0
What's Changed
- You can now use
func name(...) {....}
as short forname=func(...) {...}
by @ldemailly in #92
Full Changelog: v0.32.0...v0.33.0
Changelog
v0.32.0
What's Changed
- Adding
println()
, suppress alllog()
output when-quiet
is passed to the interpreter (log level >= error) by @ldemailly in #90 - Allow
else if
by @ldemailly in #91
Full Changelog: v0.31.1...v0.32.0
Changelog
v0.31.1
What's Changed
- Use log.Info for welcome message so
-quiet
suppresses it + fix of extra newline using-c
. (#88)
Full Changelog: v0.31.0...v0.31.1
Changelog
v0.31.0
What's Changed
- Auto memoization, super mega perf improvement; also "Share" button on wasm/online by @ldemailly in #86
Full Changelog: v0.30.0...v0.31.0
Changelog
v0.30.0
What's Changed
- Added
repl.CompactEvalString
bool as a way to get compact version in wasm (and upcoming in grol) by @ldemailly in #85
Full Changelog: v0.29.0...v0.30.0
Changelog
v0.29.0
What's Changed
- Add
self()
for anonymous function recursion by @ldemailly in #83 - New
-compact
mode, also use for eval when printing function objects by @ldemailly in #84
Full Changelog: v0.28.0...v0.29.0
Changelog
v0.28.0
What's Changed
- Handle block comments /* */ by @ldemailly in #81
Full Changelog: v0.27.0...v0.28.0
Changelog
v0.27.0
What's Changed
- Keeping line comments on same line when formatting by @ldemailly in #80
- New simpler api for grol New(), Parse(input), Run(io.Writer); switch lex'ing lookup of 2 char to [2]byte from string by @ldemailly in #75
and
- Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 by @dependabot in #76
- Bump fortio.org/cli from 1.7.0 to 1.8.0 in the fortio group by @dependabot in #77
Full Changelog: v0.26.0...v0.27.0
Changelog
- f3177a5 Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (#76)
- 724b4a2 Bump fortio.org/cli from 1.7.0 to 1.8.0 in the fortio group (#77)
- d4321a2 Keeping line comments on same line. (#80)
- f3d2179 New simpler api for grol New(), Parse(input), Run(io.Writer); switch lex'ing lookup of 2 char to [2]byte from string (#75)