Commit Graph

4 Commits

Author SHA1 Message Date
mark
bba48b311f changed assignment parser from var = statement to statement = statement
left side of assignments can now be various different things instead of just variables. any statement that returns a reference can be used to assign to the value behind that reference. variables are automatically referenced, so the '&' can be omitted. if the variable contains a reference and that reference should be used, dereference it with *varname instead of just varname.
2023-05-12 00:44:47 +02:00
mark
924715cce1 changed while to loop in example .mers files 2023-05-09 22:18:39 +02:00
Dummi26
89cc7971ee - revamped fmt methods for VData, VType, and some others => value == parse(value.fmtgi(..))
- updated debug() method to output static_type :: dynamic_type :: value
- updated to_string() to output "val" if called on a string (it just uses the fmt methods)
- updated format() to only take strings as arguments
2023-04-25 19:38:00 +02:00
Dummi26
a2a976c7f9 - changed the list type from [t] to [t ...]
- added more examples to the readme
2023-04-13 17:40:25 +02:00