mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 05:41:42 +03:00
330612119a
Fix bugs in `TreeToIr` (rewrite) and parser. Implement more undocumented features in parser. Emulate some old parser bugs and quirks for compatibility. Changes in libs: - Fix some bugs. - Clean up some odd syntaxes that the old parser translates idiosyncratically. - Constructors are now required to precede methods. # Important Notes Out of 221 files: - 215 match the old parser - 6 contain complex types the old parser is known not to handle correctly So, compared to the old parser, the new parser parses 103% of files correctly.
13 lines
326 B
Bash
Executable File
13 lines
326 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
set -e
|
|
|
|
GRAALVM=$HOME/bin/graalvm/
|
|
|
|
# build runtime.jar including the new parser classes
|
|
sbt --java-home $GRAALVM bootstrap
|
|
sbt --java-home $GRAALVM buildEngineDistribution
|
|
|
|
# run test: parser all .enso files in the repository
|
|
$GRAALVM/bin/java -cp runtime.jar lib/rust/parser/debug/LoadParser/LoadParser.java
|