1.0.6 • Published 2 years ago

langbuild v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

LangBuild

LangBuild is a tool to create programming languages with Node.js

  • OOP support
  • More Analyser control

Example

const lb = require("langbuild")

const language = new lb.Language("Language", "def")

language.analyser = new lb.Analyser(language, {console: {sub: {log: {fnc: function(args) {console.log(args.join(" "))}}}}}, [new lb.Rule("variableRule", {openers: ["%"], closers: ["%"], active: true}), new lb.Rule("commentRule", {openers: ["--"], closers: ["-"], active: true})])

language.analyser.analyse("./program.lang").then((args) => {
    console.log("Success!")
}).catch((err) => {
    console.error(err)
})
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago