Closed elipsitz closed 4 years ago
Thanks for catching this! I actually fixed this locally a few days ago and just haven't pushed yet... didn't realize anyone was watching. :)
I keep telling myself I'm going to actually learn Rust so I can contribute :)
I do hope with the next push to have the engine
and gml-meta
crates in a state where people can implement GML APIs without getting blocked on infrastructure work everywhere. I guess that ought to include a README/docs/CI/etc. as well!
Looking forward to it! Please also consider adding a LICENSE!
Commit c822dc13 broke the 'runner' crate due to changing the API in gml::front for error handling and instruction -> source location conversion.
This commit just copies the new usage from the 'playground' crate.
'cargo build' followed by 'cargo run' works as expected, and prints the output of the built-in test script. Changing the script to produce a syntax error or runtime error (I did division by zero) prints out the correct error message with a line number.