Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Pnuts

< >

Pnuts is an open source programming language created in 1997.

#1578on PLDB 27Years 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...


Example from 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)

Language features

Feature Supported Token Example
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 630 · Donate · feedback@pldb.io