f06bf14b52
parser: pass through token ranges in errors & add simple diagnostics output that cites the source file
f8a967abbf
load example program from file
9ad58620d6
lexer: parse comments
4b879a5516
parser: make iterator type more generic
b336f2f847
disallow '.' as mapsTo token (only ↦ now)
312e97193a
improve main example
2b7d974851
update runtime with new vm-instructions & improve example in main.rs
34e3d3a231
parse struct-binding blocks
34a129d101
lexer: add input region for each token
34a129d101
lexer: add input region for each token
c910265531
runtime: adapt to new instruction set
f26e24bba1
cargo fmt
49c72e8930
parse type annotations to ast
f54f630b38
adapt Abstraction variant of LTExpr to allow multiple parameters
f54f630b38
adapt Abstraction variant of LTExpr to allow multiple parameters
a6282c00eb
local function definition via let
e23d8257d0
make
let
a statement & support parsing for let
d7c06d423e
first basic parser
ebc5f720bf
parser wip
4fb80fe158
add disassembly & display functions
7efee58c4d
linker: add link_relative()