Releases: loscoala/goforth
Releases · loscoala/goforth
Release list
v0.7.0
- Rewrite of compile and run code: Use os.CreateTemp if no flag is provided.
- You can now leave the file extension for local files.
- Allow newline character in strings and sv:each added.
- Word alloc is now inline and string iterator added.
- go update to 1.26
- csv class added
- Generate getter and setter for classes
- The size argument of class properties are now optional
- Use the more idiomatic way of init structs
- Compiler: Optimize floats as well
v0.6.1
Improvements:
- go 1.25
- Reset the state of labels before each compile
- Use of $HOME/.config as compile directory and stdlib folder
- DEC bytecode added
- syscall 8 "read" added
- OOP with classes using the "class" word added (including inheritance)
- Macros and bytecode vm for macros using the "inline" word added
- stdlib now contains classes like list, array etc.
- Code optimization added for ADI, MLI, SBI, DVI
- while!, for! as macro added
- shell macro syntax added. like | cmd arg1 arg2 arg3 ... $$
v0.5.0
Improvements:
- "find" added in REPL. Example: "find swap" lists all words with "swap" in its definition.
- find and % is now a alphabetically sorted list
- VM:
INCadded - auto allocated strings added. Examples
a( Hello)returns an address and alsoa" ...". The memory is automatically resized. - metaword
template name fileadded. You can now enclose code with<?fs ...?>in any file. - compile time word
char xadded, which replacesxby its ASCII value. - ParseFile loads files over http(s). Example:
use exampledomain/myfile.fs - VM (C): custom syscalls added
- use stdin, stdout and stderr for system and shell
- when local variables are shadowed, a warning is shown
v0.4.0
v0.3.0
Improvements:
- call external programs with "sh" and "shell"
- added alternative string syntax .( and )
- added compare word
- file and file-exist? added
- vm.c now uses dynamically allocated memory
- Added fvm_setstring in vm.c
- Added argc and argv
- __END__ added
- added allot and alloc