Measures Concepts
GitHub icon

NewtonScript

NewtonScript - Programming language

< >

NewtonScript is a programming language created in 1993 by Walter Smith.

#596on PLDB 31Years Old

NewtonScript is a prototype-based programming language created to write programs for the Newton platform. It is heavily influenced by the Self programming language, but modified to be more suited to needs of mobile and embedded devices.. Read more on Wikipedia...


Example from hello-world:
baseview := {viewBounds: {left: -3, top: 71, right: 138, bottom: 137}, viewFlags: 581, declareSelf: 'base, _proto: protoFloatNGo, debug: "baseview" }; textview := * child of baseview * {text: "Hello World", viewBounds: {left: 33, top: 24, right: 113, bottom: 46}, viewFlags: 579, _proto: protoStaticText, debug: "textview" };

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout