Skip to content

Modification of Nasal-Interpreter by ValKmjolnir. Many thanks for his work.

License

Notifications You must be signed in to change notification settings

Tungsten-180/nasal-lexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTERNAL LS NASAL INTERPRETER

ABSOLUTELY NO WARRANTY YOU ARE FREE TO REDISTRIBUTE AND MODIFY THE PROGRAM SO LONG AS YOU ABIDE BY THE TERMS IN THE LICENSE (see LICENSE)
####How to use See Nasal-ls for intended use case This is not intended to be used alone though you may find it useful. Because of this I have made the command line logic very simple. It simply looks for whether or not you pass 'n' as the second arg(a space will count as the first). If so it will read the first line of input on stdin as the name of the file.
####Why I modified the Interpreter I was horified by the idea of working without an lsp for Nasal(Flightgear Scripting language)
(Not really but it was annoying and this was a good project for me)
Instead of doubling the work by making an AST only to dump it as text, only to re parse it back into some other form, the interpreter has been modified to output to stdout upon variable declarations, or any use, as well as function declarations and function calls. More features may be added in the future.
It is now primarily a level and parser, though all execution code is retained so in the future I may utilize some of the ability to execute code to improve the LSP(? I'm not sure just theorizing).

Many thanks to ValKmjolnir

I'm new to this so any suggestions, contributions, etc. are welcome :)

About

Modification of Nasal-Interpreter by ValKmjolnir. Many thanks for his work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published