Releases: glaukiol1/Gago
v0.7-alpha
This version comes with significant changes!
Changes:
- Created a
customtype
data type for types specific to one function. - Added arrays (
slice
data type in Gago). - Added
array
standard library. - Added support for the
import
statement - Added a workflow run
- Added tests for the array module
- Split the
main.go
file functions into arun
package.
Pull Requests
- Add Arrays by @glaukiol1 in #1
- Fix importing Standard Library by default by @glaukiol1 in #3
Full Changelog: v0.6-alpha...v0.7-alpha
v0.6-alpha
This version comes with many new additions!
Changes:
- New
bool
datatype. The two values;true
andfalse
are bulitin as global variables. You can access them via their names. - Reassigning variables via the
reset
keyword. You can onlyreset
non-constant variables (the ones declared withvar
). Example:reset test = 100
- A new experimental
exit()
function. (builtin)
Full Changelog: v0.5-alpha...v0.6-alpha
v0.5-alpha
This version comes with exciting new features.
Change List:
- added a
float
type (lang.FloatType
), can only be used from inside the Go VM, and not directly in code.call print(10.00)
will throw a reference error. - added math expressions. Now you can do stuff like
const a = 5 ^ 3
. Check out a full example here. - Added Math expressions directly into a function, like the
literal
implementation. You can do something likecall print(1+1)
. It will print out2
.
Full Changelog: v0.4-alpha...v0.5-alpha
v0.4-alpha
This version comes with one, but major change.
You can now nest a function call in a function call. An example would be:
// nested function example
call print("your name is ", call input("enter your name "))
The above function would call the input
function first, then will evaluate it, and following the example, if you entered dove
as your name, the call behind the scenes would be call print("your name is ", "dove")
.
v0.3-alpha
This version comes with many changes, such as:
- VM is now able to do more complex evaluations
- New CLI, now able to run .gago files
- evaluating expressions in parser
- ability to expand on evaluating expressions (such as math operations)
input(message)
function in builtin module
Full Changelog: v0.2-alpha...v0.3-alpha
v0.2-alpha
This release contains many new changes since v0.1-alpha
There is now a module system, there is support for builtins. The current builtin module only exports once function:
print(args...)
Working!
The print()
function works, and creating variables (constant or not constant) is now working.
New data type: int
| lang.TypeInt
Working.
The parser outputs real AST, and the biggest addition: The VM.
The VM is able to parse AST, and run the corresponding functions/creations. The VM also has a memory mapper & manager, which can be found in vm/memory.go
. The stdlib
is not written yet, just an directory.
Full Changelog: v0.1-alpha...v0.2-alpha
v0.1-alpha
Still in the early stages of development. In need of improvement and new features.
The stdlib is not written. The VM is not written.
Full Changelog: https://github.com/glaukiol1/Gago/commits/v0.1-alpha