Parsers

Parsers are the forefront of NTFX. Because NTFX refers to the subsystem itself, we left the idea of parsers up to the end user. Any parser can be installed, however NTFX does ship with its own Xenon parser.

Xenon

Classes

In Xenon classes that are top-level can invoked by their name property.

sytem

nested classes can be invoked by simply adding a space and the subclasses name

system hardware

Applications

Top level applications can only be assigned by the NTFX system itself, and other applications require a class in order to be synced with NTFX.

Similar to subclasses, applications can be invoked by just inputting the class name followed by a space and the application name

system update

Other parsers

JavaScript (v8)

ntfx parser --replace javascript-v8

The JavaScript parser is an NTFX provided parser that uses the chrome v8 engine. The JavaScript parser can also handle normal JavaScript syntax like require and etc.

Invoking classes and applications

system; // CLASS: system
system.hardware; // SUBCLASS: hardware
system.hardware.interfaces(); // Invokes the interfaces application

let j = 1+1;
console.log(j); // 2

console.dir(system); // class system IClassModelRoot { ...

Last updated