FratmScript 🤌🏻

FratmScript guide

FratmScript is JavaScript with Neapolitan keywords: a compiler written in Rust turns .fratm files into modern JavaScript for Node.js and the browser. Every section has examples you can run in the playground.

  1. First steps
  2. Variables
  3. Values and operators
  4. Conditions
  5. Loops
  6. Functions
  7. Lists and objects
  8. Classes
  9. Errors
  10. Async and generators
  11. Modules and the fratm library
  12. All of JavaScript
  13. HTML and CSS in Neapolitan
  14. Compiler messages

Rather do exercises? Take the tour in lessons.

Open the playground