velc

PEG.js inspired programming language creator using visual based tools.

Usage no npm install needed!

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

README

PEG.js inspired programming language creator using visual based tools.

install

with server (requires Node.js or io.js):

npm install velc

only editor (requires git):

git clone https://github.com/erispa/velc.git

download

You can also download Velc from github and then extract it to your desired directory using any extracter that supports zip files.

usage

with Velc server only:

  • go to where you have installed Velc
  • (optional) on command line type: npm install
  • on command line type: node server.js

with Velc express middleware:

// required modules
var express = require("express");
var velc = require("velc");

// create a new express application
var app = express();

// ...
// your express code
// ...

// an array of extensions
var exts = [velc.darkTheme, velc.codeMirror, velc.pegjsExamples, velc.pegjsGrammer];

// attach Velc's middleware
app.use("velc", velc(exts));

// ...
// your express/http listen code
// ...

just editor:

  • go to where you have installed Velc
  • open 'editor.html' in any browser

third-party tools used

editor:

server:

Links

Homepage: https://erispa.github.io/velc
Wiki: https://github.com/erispa/velc/wiki
Issues: https://github.com/erispa/velc/issues
NPM: https://www.npmjs.com/package/velc

License

Copyright (c) 2015 Futago-za Ryuu, Erispa
The MIT License, http://opensource.org/licenses/MIT