Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 525 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 525 Bytes

dust

Dust is a programming language that compiles to JavaScript and runs on your browser. Its similarity to Rust is not coincidental. It is actually derived from the Rust to JavaScript transpiler project.

Try it at http://bilalhusain.github.io/dust/

Using with nodejs

Install npm package dust-lang

npm install dust-lang

Compile input file

echo 'console::log("hello");' > hello.ds
./node_modules/dust-lang/dustc hello.ds > hello.js
node hello.js