v0.4.0
0.4.0 - 2021-07-22
Added
- Ability to load in JSON data
- Ability to load in XML data
- A
print
statement is now allowed within a function. Previously it
was only allowed at the root scope of a file. - Added three new built in functions:
type
,guid
, andreplace
. - Added formatting option
-f
or--fmt
, analogous togofmt
. - When loading a delimited text file, there is an option to skip a
number of header rows.
Changed
-
BREAKING: The grammar for imports was updated. The
as 'name'
token has been now forced to be an identifier, not a string. All
strings will need to have the quotations removed, and thename
made
into a valid identifier. -
The URI portion of the
import
statement now is generalized to be an
expression, instead of a string. This means that the URI for an import
can now be dynamic. This is not a breaking change. -
Box characters can now be used for inline data tables. Generally, the
formatter will be used to redraw the inline data tables with these
box characters.
Fixed
- The program now exits immediately on any errors in lexing or parsing.
Previously would still try to walk the broken syntax tree.