ure
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-image]][node-url]
[![Linux Build][travis-image]][travis-url]
[![Windows Build][appveyor-image]][appveyor-url]
[![Test Coverage][coveralls-image]][coveralls-url]
Table of Contents
Install
This is a Node.js module available through the
npm registry.
Before installing, download and install Node.js.
Node.js 0.6 or higher is required.
Installation is done using the
npm install
command:
$ npm install ure_lin
Or to install all dependecies at same time :
$ npm i ure_lin all_langs_linux
Introduction
This is a node.js driver for ure. It is written in JavaScript, does not
require compiling, and is 100% MIT licensed.
Here is an example on how to use it:
Create a file demo.txt and replace the content with :
##-------------------------DEBUT CIBLAGE D'UN LANGAGE EXECUTABLE-------------------------##
:s:test_syntaxes.ure;
##-------------------------FIN CIBLAGE D'UN LANGAGE EXECUTABLE-------------------------##
##Début afficher un message##
afficher=`Votre message ici`;
##Fin afficher un message##
Now create js file named compiler.js with content :
const ureModule = require('ure_lin');
console.log('URE : ', ureModule.Compiler("./demo.txt", ".ure"));
Run in command line to compile .txt file to .ure extension :
$ node compiler.js
So, we have our demo.ure file. Add an other file test.js with content :
const ureModule = require('ure_lin');
console.log('URE : ', ureModule.Executer("./demo.ure"));
console.log();
Then run :
$ node test.js
Or you can use URE command line without compile .ure extention :
const ureModule = require('ure_lin');
console.log('URE : ', ureModule.Commandes("afficher=`Hello World !`;", "./test_syntaxes.tt"));
console.log();
Contributors
Additionally I'd like to thank the following TEAM:
- [Guyllit Aneto Minanga][] (AnetoEnterprise) - for develop.
- [Rodriguez Lufungula][] (URE) - for test.
If you'd like to discuss this module, or ask questions about it, please use one
of the following: