To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationCustom keywords

YASS is a flexible language that supports custom keywords. For instance:

test x

test has been recognised as a keyword by the compiler in the example above. The compiler knows this is a keyword because a plugin exists that specifies this keyword. The plugin has the following Java code:

import jamiebalfour.zpe.core.AST;
import jamiebalfour.zpe.core.ZenithEngine;
public class ZenithCustomModule implements jamiebalfour.zpe.core.ZenithCustomModule {

  public String GetName() {
      return "test";
  public AST CompileToAST(ZenithEngine z) {

      AST node = new AST();
      node.value = z.ExternalMethods.GetCurrentCompilerWord();

      return node;
  public void Traverse(ZenithEngine z, AST node) {



There are no comments on this page.

New comment
Code previewClose
Feedback 👍
Comments are sent via email to me.