-
Notifications
You must be signed in to change notification settings - Fork 1
IDE (Webapp)
Benjamin Kruger edited this page Aug 1, 2014
·
3 revisions
- Fullscreen canvas: Alt-Enter
- For other features, such as renaming files, open the browser's JavaScript console and type
help
.
- Visit http://pegjs.majda.cz/online to create a parser (see https://github.com/DePauwREU2013/sjs-server/blob/master/src/main/webapp/sassy_messages_peg.js for an example on how to return error messages):
- (optional) Copy your grammar into a file and save it in the repository. The final parser code is compiled and optimized. . . not useful for making changes.
- Change the "Parser variable" field from
module.exports
toParser
and click the "Download parser" button: - Save the resulting javascript file and include it in the
/src/main/webapp
folder. - Add a
<script>
tag to the index.html to include the script. - Go, code and be parsed!