module documentation
A simplified parser for nwscript.nss.
| Class | |
A constant definition from the language spec (e.g. const int TRUE = 1;). |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Function | read |
Reads a language specification from a given file. |
| Constant | _CONST |
Undocumented |
| Constant | _FUNC |
Undocumented |
| Constant | _FUNC |
Undocumented |
| Constant | _VM |
Undocumented |
Reads a language specification from a given file.
| Parameters | |
file:TextIO | A file-like object containing the language specification; usually nwscript.nss. |
| Returns | |
LanguageSpec | An object containing constants and functions parsed from the file. |
| Raises | |
ValueError | If the parsing fails. |
Undocumented
| Value |
|