2.0.9 • Published 2 years ago

@incodelang/compiler v2.0.9

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
2 years ago

@incodelang/compiler

This is the official Compiler of the InCode Programming Language. Attention: This is version 2 of the Compiler, if your are looking for the legacy documentation please visit https://github.com/InCodeDevs/Compiler/tree/v1.x/#readme

Installation

Install @incodelang/compiler with npm

  npm install @incodelang/compiler

Install @incodelang/compiler with yarn

  yarn add @incodelang/compiler

Usage/Examples

Compiling InCode-Code

import { Compiler } from '@incodelang/compiler';

Compiler.compile("Create x as button");

Generating an Abstract-Syntax-Tree

import { AbstractSyntaxTreeGenerator } from '@incodelang/compiler';

AbstractSyntaxTreeGenerator.generate("Create x as button");

Generating Code from Abstract-Syntax-Tree

import { CodeGenerator, AbstractSyntaxTreeGenerator } from '@incodelang/compiler';

const ast = AbstractSyntaxTreeGenerator.generate("Create x as button");

CodeGenerator.generate(ast);

Authors

License

GPL-3.0

2.0.9

2 years ago

2.0.8

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago