Tools and Libraries
Everything that helps you work with NEON: libraries that read and write it, the specification of the format, support in editors, a linter and a playground.
Libraries
- NEON for PHP, the package
nette/neon - NEON for JavaScript, the package
@nette/neonfor JavaScript and TypeScript - NEON for Python, the package
nette-neon
All three decode NEON into values, encode values back, and edit files so that their formatting stays as it was.
Specification
The format is written down in a language-neutral specification together with a conformance corpus, a set of test cases that every implementation runs, so a file reads the same in each of the libraries. If you are writing a NEON library for another language, the corpus is there for you to use.
Editors
- NetBeans (has built-in support)
- PhpStorm (plugin)
- Visual Studio Code (Nette Latte + Neon or Nette for VS Code)
- Sublime Text 3 (plugin)
- Sublime Text 2 (plugin)
- VIM (plugin)
- Emacs (plugin)
- Prism.js (integrated language)
Checking Files
Each library comes with the command neon-lint, which reports the errors of .neon files with their
line and column, in your editor, in CI or after an AI agent. It works the same in all three, see NEON for PHP.
Playground
You can try NEON right in your browser in the playground.