simpledsl

Simple DSL (Domain-Specific Language) base library

Usage no npm install needed!

<script type="module">
  import simpledsl from 'https://cdn.skypack.dev/simpledsl';
</script>

README

SimpleDSL

Simple DSL (Domain-Specific Language) helper implementation, in JavaScript/Node.js.

Installation

Via npm on Node:

npm install simpledsl

Usage

Reference in your program:

var sdsl = require('simpledsl');

TBD

Development

git clone git://github.com/ajlopez/SimpleDSL.git
cd SimpleDSL
npm install
npm test

Samples

TBD

Versions

  • 0.0.1 Published
  • 0.0.2 Published, process JSON argument in verb
  • 0.0.3 Tabs as separator, additional data in command (full text, arguments text)
  • 0.0.4 Lexer, expressions in parenthesis
  • 0.0.5 Published, number of arguments, multiline verb, string in single quotes, else command
  • 0.0.6 Published, catch exceptions in functions, fail command
  • 0.0.7 Published, post function in verb

License

MIT

Contribution

Feel free to file issues and submit pull requests � contributions are welcome<

If you submit a pull request, please be sure to add or update corresponding test cases, and ensure that npm test continues to pass.