NewtonScript is a proprietary (with open source clones) [[Bytecode Interpreter]] programming language written in LANG. - [Wikipedia](https://en.wikipedia.org/w/index.php?title=NewtonScript) > **NewtonScript** is a [prototype-based](https://en.wikipedia.org/wiki/Prototype-based_programming "Prototype-based programming") [programming language](https://en.wikipedia.org/wiki/Programming_language "Programming language") created to write programs for the [Newton](https://en.wikipedia.org/wiki/Newton_(platform) "Newton (platform)") platform. It is heavily influenced by the [Self](https://en.wikipedia.org/wiki/Self_(computer_language) "Self (computer language)") programming language, but modified to be more suited to needs of [mobile](https://en.wikipedia.org/wiki/Mobile_phone "Mobile phone") and [embedded devices](https://en.wikipedia.org/wiki/Embedded_system "Embedded system"). # Notability Originally intended for the [[Apple]] [[Newton OS]] PDA devices, even though the Newton devices failed as a product, many people were taken with the language. The documentation is incredible and worth of emulating. And the paradigm itself is worth learning from. ## Implementations There are a lot of NewtonScript implementations out there. - NEWT/0 (last updated 2021) - NEWT64 (last updated 2022) - many others... ## Legacy One of the inspirations for [[Io]]. # Philosophy > The goal of NewtonScript is to enable developers to create fast, smart applications easily. This calls for a language that is: - expressive, flexible, and straightforward to use - consistent enough to allow reuse of concepts and structures - portable enough to permit exploration of different architectures, and - sufficiently compact to work with limited RAM > The constraints of the Newton system require a language capable of producing reusable code libraries, which uses memory efficiently, and collects garbage automatically. > > NewtonScript is based on principles first used in Smalltalk and LISP, and was also influenced by Self # Platform Support The original platform was only Apple's devices that ran Newton OS, but various implementations have made some flavor or another available on: - Mac OS - DOS - Windows - Linux - Haiku - BeOS # Features # Tips # Resources - https://github.com/pguyot/einstein ([[Newton OS]] emulator) - https://github.com/MatthiasWM/NEWT64 - https://github.com/gnue/NEWT0 - https://communicrossings.com/html/newton/newtdev.htm # References - [[The NewtonScript Programming Language]] - http://newtonscript.org/