Skip to content

aoijs/aoi.compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@aoijs/aoi.compiler

const {
    sort_array,
    Compiler
} = require("@aoijs/aoi.compiler")

const mycode = `Hello, $author, your ID: $authorID`

const myfunctions = sort_array([
    "$authorID",
    "$author"
])

const compiler = new Compiler(mycode, myfunctions).start()

console.log(
    { code: compiler.get_compiled_code() },
    compiler.get_functions()
)

Releases

No releases published

Packages

No packages published