-
Notifications
You must be signed in to change notification settings - Fork 0
01. Interpreter Flags
Tom Dodd edited this page Nov 20, 2023
·
3 revisions
DSSL accepts an input of one file maximum to run. Additional files should be accessed with the import
keyword, which is covered in a later section. If no file is specified, the interpreter runs in console mode.
DSSL also accepts any combination of the following flags:
-
-d
: Debug mode will print the stack to the console every time a token action occurs. -
-n
: Natives mode will allow the implementation-dependentnative
keyword to be used.
For example, running the file script.dssl
with natives enabled would be achieved with java -jar dssl.jar -n script.dssl
, where dssl.jar
is the DSSL executable jar.