Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

georg/arnoldc-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArnoldC.js

JavaScript version of ArnoldC.

Examples

Check out the examples.

Usage

Transpile ArnoldC to JavaScript

var arnoldC = require('arnoldc')
console.log(arnoldC.js("IT'S SHOWTIME\nTALK TO THE HAND \"hello world\"\nYOU HAVE BEEN TERMINATED"))

Execute ArnoldC

var arnoldC = require('arnoldc')
console.log(arnoldC.exec("IT'S SHOWTIME\nTALK TO THE HAND \"hello world\"\nYOU HAVE BEEN TERMINATED"))

Automatically execute all arnoldC scripts

<script type="text/arnoldc">
IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED
</script>

<!-- lodash library -->
<script src="lodash.js"></script>
<!-- arnoldC -->
<script src="arnoldc.browser.min.js"></script>

Contributing

  1. Fork it ( http://github.com/georgf/arnoldc-js/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Releases

No releases published

Packages

No packages published