feat: define the helloworld language, per tutorial
Plus overcome some strange Eclipse complaints.
This commit is contained in:
parent
407cb0b43d
commit
37d2fb4094
@ -11,4 +11,5 @@ In the meantime, in case it's of use to me later or to anyone else, I will docum
|
|||||||
1. In my previously existing working installation of Eclipse IDE for Java (2020-09, i.e. v. 4.17, for completeness sake), I went to Help > Install new software, clicked on the button to add a new site, put in the site name of Spoofax and got the the URL for the site from http://www.metaborg.org/en/latest/source/release/stable.html#update-site - it's the very long url labeled as "Eclipse update site:" that spans several lines.
|
1. In my previously existing working installation of Eclipse IDE for Java (2020-09, i.e. v. 4.17, for completeness sake), I went to Help > Install new software, clicked on the button to add a new site, put in the site name of Spoofax and got the the URL for the site from http://www.metaborg.org/en/latest/source/release/stable.html#update-site - it's the very long url labeled as "Eclipse update site:" that spans several lines.
|
||||||
1. Then I checked the box next to "Spoofax Eclipse" and then followed the prompts (I think I had to click on "Next>" or maybe "Finished"). Eventually Eclipse asked me if I wanted it to restart, which I agreed to.
|
1. Then I checked the box next to "Spoofax Eclipse" and then followed the prompts (I think I had to click on "Next>" or maybe "Finished"). Eventually Eclipse asked me if I wanted it to restart, which I agreed to.
|
||||||
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.
|
@ -14,4 +14,7 @@ context-free sorts
|
|||||||
|
|
||||||
context-free syntax
|
context-free syntax
|
||||||
|
|
||||||
Start.Empty = <>
|
Start.Program = <<Word> <Word>>
|
||||||
|
Word.Hello = <hello>
|
||||||
|
Word.World = <world>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user