1.3.1 • Published 7 years ago

neutrinoscript v1.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Neutrino Script

NeutrinoScript Like C for Javascript

About

Neutrino script is a subset of javascript designed to allow low level memory management, shortcodes, defines, and more. See our website at http://neutrinoscript.com/ for more detailed documentation.

The syntax is fresh yet similar to javascript while providing extra abstraction layers to allow more logical code production. This means a script written in Neutrino script can be converted into javascript as it is converted into javascript during the complation process.

Supported Javascript

Currently Neutrino script is designed to run under EMCAScript 5 equivalent javascript syntax. Neutrino script itself supports EMCAScript 6 style functions to be defined that get converted to EMCAScript 5 syntax.

Installing

Using npm on your command prompt / terminal run the following commands:

npm install -g neutrino
npm install -g neutrino-memory

Getting Started

See our documentation on our website http://neutrinoscript.com/ for examples of how to write neutrinoscript .neu files.

Converting NeutrinoScript to Javascript

neutrino convert /path/to/your/script.neu /output/path/script.js

Running via NodeJS

neutrino /path/to/your/script.neu

Running in the Browser

Please see the documentation on how to use the provided build/neutrino.js file on the web.

** Changes from 1.0.1 to 1.1.0 introduce a new way to load neutrino script via the web.

Simply replace:

window.neutrino.web(document);

with

var neutrino = require('neutrino');
neutrino.web(document);

License

Neutrino script is licensed under the MIT license

1.3.1

7 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago