test: Add a test helloworld file, per tutorial

This commit is contained in:
Glen Whitney 2020-12-08 20:03:44 -08:00
parent 37d2fb4094
commit 9985fe1dde
2 changed files with 4 additions and 1 deletions

View File

@ -13,3 +13,5 @@ In the meantime, in case it's of use to me later or to anyone else, I will docum
1. And indeed, once it restarted, the "Spoofax" and "Spoofax (meta)" menus showed up. 1. And indeed, once it restarted, the "Spoofax" and "Spoofax (meta)" menus showed up.
1. At this point I followed the tutorial linked at the top of this readme... 1. At this point I followed the tutorial linked at the top of this readme...
1. ... until I got to the point of building the project. Then I encountered a "Plugin execution not covered by lifecycle configuration error." See the YellowGrass issue https://yellowgrass.org/issue/Spoofax/236 for the workarounds I used for this and the subsequent JRE version issues I encountered. 1. ... until I got to the point of building the project. Then I encountered a "Plugin execution not covered by lifecycle configuration error." See the YellowGrass issue https://yellowgrass.org/issue/Spoofax/236 for the workarounds I used for this and the subsequent JRE version issues I encountered.
1. With those workarounds, I was able to enter the test.hel program and get into parse or produce syntax errors when incorrect, as described in the getting started guide.
1. The guide ends there, but we want to be able to "compile" helloworld language programs into Python Hello World programs, so...

1
test.hel Normal file
View File

@ -0,0 +1 @@
hello world