ure_mod_linux

1.2.0 • Public • Published

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_mod_linux

Or to install all dependecies at same time :

$ npm i ure_mod_linux all_langs_linux all_test_syntaxes

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_mod_linux');
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_mod_linux');
console.log('URE : ', ureModule.Executer("./myDirPathApp/", "./demo.ure"));
console.log();

Then run :

$ node test.js

Or you can use URE command line without compile .ure extention :

const ureModule = require('ure_mod_linux');
console.log('URE : ', ureModule.Commandes("./myDirPathApp/", "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.

Sponsors

Community

If you'd like to discuss this module, or ask questions about it, please use one of the following:

Readme

Keywords

Package Sidebar

Install

npm i ure_mod_linux

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

344 kB

Total Files

4

Last publish

Collaborators

  • anetoenterprise