Question: is there a way to load the .ne files in the browser?
See original GitHub issueI’m considering adding a nearley-based parser to one of the projects I work on (HERITAGE). As it stands now, I can’t keep it client-side only, and have to compile the .ne
files server-side, with node.js
. Is there a way to do this on the client?
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (10 by maintainers)
Top Results From Across the Web
What is the best way to upload files in a modern browser
Short answer: XMLHttpRequest is the best way to upload files in a modern browser. What is XMLHttpRequest? XMLHttpRequest is a JavaScript object ...
Read more >Dealing with files - Learn web development | MDN
Save your HTML file, then load it in your web browser (double-click the file). You should see your new webpage displaying your image!...
Read more >Windows Basics: Working with Files - GCFGlobal
There are two main ways to open a file: Find the file on your computer and double-click it. This will open the file...
Read more >Download files from the web - Microsoft Support
Learn how to download files from the web, change your default download location, and find files you've downloaded on your PC using Internet...
Read more >The File System Access API: simplifying access to local files
To save a file, call showSaveFilePicker() , which shows the file picker in "save" mode, allowing the user to pick a new file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
quick-compiler.html
, you’ll understand how to compile grammars client-side. Then you can just do that directly in the JS for your project.IF is short for Interactive Fiction, or text-based adventure games. 😃
To clarify, anyone using HERITAGE won’t need node, because you can just give them compiled
.ne.js
files. Assuming the grammar is fixed, you can even develop HERITAGE without node.If you insist on being able to develop HERITAGE without node, though, you still have a few options:
What do you think?