Pnuts is an open source programming language created in 1997.
| #1817on PLDB | 29Years Old |
Pnuts is a dynamic scripting language for the Java platform. It is designed to be used in a dual language system with the Java programming language. The goals of the Pnuts project are to provide a small, fast scripting language that has tight integration with the Java language. Read more on Wikipedia...
use("pnuts.lib") // Standard module that makes sort, println and other functions available.
countries = ["Canada", "Austria", "Brazil"]
sort(countries)
for (country : countries) println("Hello " + country)| Feature | Supported | Example | Token |
|---|---|---|---|
| Comments | ✓ | // A comment | |
| Line Comments | ✓ | // A comment | // |
| Semantic Indentation | X |