Questions Concepts
GitHub icon

NewtonScript

NewtonScript - Programming language

< >

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

#598on PLDB 30Years 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 ยท Traffic ยท Traffic Today ยท Day 305 ยท feedback@pldb.com ยท Logout