e01.org

Pnuts

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. Pnuts uses syntax that is simple and friendly to Java developers, while also being very expressive.

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. Pnuts uses syntax that is simple and friendly to Java developers, while also being very expressive. import java.util.ArrayList; import java.util.List; List countries = new ArrayList (); countries.add("Canada"); countries.add("Austria"); countries.add("Brazil"); Collections.sort(countries); for (String country : countries) System.out.println("Hello " + country); Alternatively, the expressiveness of Pnuts could be utilized: 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)

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Pnuts". 1589214019. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=956140378

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·