GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Five Speed Software
  • Matthias Melcher
  • Paul Guyot
  • Makoto Nukui
  • Steve Weyer
  • Thomas Tempelmann
  • Simon Bell
  • Morgan Aldridge
  • Jake Bordens
  • Victor Rehorst
  • Adam Tow
  • Matt Vaughn
  • Apple
  • Peter Kaas

This view

  • Original page
  • New address

GeezerVison is showing newtonscript.org — NewtonScript

NewtonScript

NewtonScript is an object-oriented programming language developed by Walter Smith for Apple for the Newton OS running on their MessagePad & eMate hardware. It borrows concepts from the Smalltalk, LISP, and Self programming languages with special consideration for a low memory footprint (esp. differential inheritance). In 2003, Makoto Nukui developed NEWT/0, a NewtonScript interpreter for use on other platforms. Matthias Melcher took that one step further with NEWT/64, a 64-bit variation of NEWT/0.

For assistance with programming in the NewtonScript language beyond the documentation provided here, it is suggested that you join the newtonscript-lang.slack.com Slack team (get an invite), join the #newtonscript channel on irc.libera.chat, tag a question with the 'newtonscript' tag on stackoverflow.com, or post to the NewtonTalk mailing list.

Table of Contents

Development Tools
Documentation
Libraries
Sample Code
Further Reading

Development Tools

Dashboard

An alternate button bar, hierarchical menu, and scripting system (using NewtonScript) for Newton OS. Source available on GitHub.

  • Author: Five Speed Software
  • Platform: Newton OS 2.1
  • License: Open Source
DyneTK

A cross-platform IDE for Newton OS software development. Built on NEWT/0.

  • Author: Matthias Melcher
  • Platform: Linux, Mac OS X, Windows
  • License: Open Source
Einstein

A Newton OS 2.1 emulator. It includes a “Relativity” feature that allows NewtonScript to call native methods from the parent OS from within the Newton OS.

  • Author: Paul Guyot
  • Platform: Mac OS X, Linux, Windows, iOS, Android, ARM-Linux
  • License: Open Source
Minspector

A Newton OS Newton debugging tool modeled after the Newton Toolkit Inspector.

  • Author: Five Speed Software
  • Platform: Newton OS 2.1
  • License: Freeware
NEWT/0

A multi-platform NewtonScript interpreter.

  • Author: Makoto Nukui
  • Platform: Mac OS X, Linux, FreeBSD, Windows, BeOS
  • License: Open Source
NEWT/64

A multi-platform NewtonScript interpreter based on NEWT/0 modified for 64-bit platforms.

  • Author: Matthias Melcher
  • Platform: Mac OS X, Linux, FreeBSD, Windows, BeOS
  • License: Open Source
newt.vim

A cross-platform Vim syntax highlighter for the NewtonScript language.

  • Author: Layána Ǩaynolj Konóvo
  • Platform: Vim
  • License: Unknown
NewtDevEnv (Newt)

An environment for developing applications using NewtonScript and creating packages natively on a Newton OS device.

  • Author: Steve Weyer
  • Platform: Newton OS
  • License: Shareware
Newton Data Browser

A application which can send NewtonScript commands and functions to a Newton device and then retrieve the results using a desktop or laptop computer.

  • Author: Thomas Tempelmann
  • Platform: Mac OS (PPC Only), Windows
  • License: Freeware
NewtonScript Xcode Language Specification

An Xcode language specicification (syntax highlighter) for the NewtonScript language.

  • Author: Simon Bell
  • Platform: Mac OS X
  • License: Open Source
NewtonScript Mode

A SubEthaEdit and Coda Mode (syntax highlighter) for the NewtonScript language.

  • Author: Morgan Aldridge
  • Platform: Mac OS X
  • License: Open Source
NewtonScript Codeless Language Module

A BBEdit and TextWrangler Codeless Language Module (syntax highlighter) for the NewtonScript language.

  • Author: Simon Bell
  • Platform: Mac OS X
  • License: Open Source
Newton Inspector

A native implementation of the NTK Inspector window for Mac OS X.

  • Author: Jake Bordens
  • Platform: Mac OS X
  • License: Open Source
Newton Personal Data Sharing (NPDS)

A web server for Newton OS which can be scripted to generate dynamic content using NewtonScript.

  • Author: Paul Guyot, Victor Rehorst, Adam Tow, Matt Vaughn
  • Platform: Newton OS 2.x
  • License: Open Source
Newton Toolkit (NTK)

Apple’s original IDE for Newton OS software development.

  • Author: Apple
  • Platform: Mac OS, Windows
  • License: Freeware
Newton Toolkit for Mac OS X (NTX)

A modern replacement for Apple’s original Newton Toolkit.

  • Author: Simon Bell
  • Platform: Mac OS X
  • License: Open Source
Newton Toolkit Bracket Highlighting & Balancing

This bit of code adds visual bracket matching, highlighting, and balancing functionality to the Newton Toolkit editor.

  • Author: Peter Kaas
  • Platform: Mac OS, Windows
  • License: Freeware
NSM

A portable NewtonScript bytecode virtual machine.

  • Author: Matej Horvat
  • Platform: DOS, Haiku, Mac OS X, OS/2, Windows
  • License: Freeware
Prota

An implementation of NewtonScript written in C++.

  • Author: Walter Smith
  • Platform: Linux, Mac OS X
  • License: Open Source
ROM Soup

A utility for exploring the Soup contained within Newton ROM images. It can preview code, strings, pictures, sounds, and more.

  • Author: Steve White
  • Platform: Mac OS X
  • License: Open Source
tntk

A command line NewtonScript compiler and packager. Built on NEWT/0.

  • Author: Eckhart Köppen
  • Platform: Linux, Mac OS X
  • License: Open Source
ViewFrame

A live NewtonScript object browser, editor, and debugging tool.

  • Author: Jason Harper
  • Platform: Newton OS, Windows
  • License: Freeware

Libraries

MacInTalk

Apple's official MacInTalk Text-to-Speech extension for Newton OS.

  • Author: Apple Computer, Inc.
  • Platform: Newton OS
  • License: Freeware
mbed TLS

A port of the mbed TLS SSL/TLS library to NewtonOS, allowing for secure network communications.

  • Author: Paul Guyot
  • Platform: Newton OS
  • License: Open Source
Newton Messaging Enabler

Apple's Messaging Enabler "Provide[s] high-level support for a wide variety of messaging devices. Messaging devices are both one-way and two-way pagers, or more generally, any device that can receive (and maybe send) short, usually less than 5 KB, wireless messages."

  • Author: Apple Computer, Inc.
  • Platform: Newton OS
  • License: Freeware
NHttpLib

An HTTP library for Newton OS. Source available on SourceForge.

  • Author: Eckhart Köppen
  • Platform: Newton OS 2.x
  • License: Open Source
NSUnit

A simple xUnit unit testing framework for the NewtonScript language (currently supporting NEWT/0) by Morgan Aldridge.

  • Author: Morgan Aldridge
  • Platform: NEWT/0
  • License: Open Source
ntox

A port of the tox XML/HTML tokenizer.

  • Author: Eckhart Köppen
  • Platform: Newton OS
  • License: Open Source
ZLib

A partial port of the zlib compression library, based on the version 1.1.4 release.

  • Author: Paul Guyot
  • Platform: Newton OS
  • License: Open Source

Documentation

Class-based NewtonScript Programming

A paper explaining conventions for simulating class-based programming in NewtonScript, which is a prototype-based language, from the designer of the language.

  • Author: Walter Smith
  • Format: PDF
  • Mirror: Internet Archive
Developing NewtonScript apps for the Apple MessagePad

A walk-through on setting up a Newton Toolkit development environment using Basilisk II and Einstein emulators.

  • Author: Matthias Melcher
  • Format: HTML
  • Mirror: Elektriktrick, Internet Archive
develop

Apple’s quarterly technical journal published from 1990-1997, before being pulled into MacTech magazine as a regular column. The following issues contain Newton/NewtonScript-specific articles:

  • Issue 17 (HTML & PDF; March 1994)
  • Issue 18 (HTML & PDF; June 1994)
  • Issue 19 (HTML & PDF; September 1994)
  • Issue 20 (HTML & PDF; December 1994)
  • Issue 21 (HTML & PDF; March 1995)
  • Issue 22 (HTML & PDF; June 1995)
  • Issue 23 (HTML & PDF; September 1995)
  • Issue 24 (HTML & PDF; December 1995)
  • Issue 25 (HTML & PDF; March 1996)
  • Issue 26 (HTML & PDF; June 1996)
  • Issue 27 (HTML & PDF; September 1996)
  • Issue 28 (HTML & PDF; December 1996)
  • Issue 29 (HTML & PDF; March 1997)
  • Author: Various
  • Format: Magazine, HTML, PDF
  • Mirror: Internet Archive, VintageApple.org (Internet Archive)
Dr. Dobb’s

Michael Swaine explored the Newton as a platform, NewtonScript as a programming language, and NTK as a development environment in 1994 & 1995 for his “Programming Paradigms” column in Dr. Dobb’s magazine.

Note: Free registration required to view more than two articles.

  • Programming Paradigms: Developing for Newton (HTML; March 1994)
  • Programming Paradigms: A Little RISC Lands Apple in the Soup (HTML; April 1994)
  • Programming Paradigms: Mushroom Programming for Newton (HTML; June 1994)
  • Programming Paradigms: Mushroom Programming, The Sequel (HTML; July 1994)
  • Programming Paradigms: The Pizza Clerk, The Bookmaker, and the UPS Truck (HTML; December 1994)
  • Programming Paradigms: The Shooting Spree at the Soirée and Other Light Subjects (HTML; March 1995)
  • Author: Michael Swaine
  • Format: Magazine, HTML
  • Mirror: Internet Archive
Folklore.org: The Newton, The First PDA

“Anecdotes about the development of the Newton, the world's first PDA.” The following articles cover NewtonScript:

  • A MessagePad Memory Primer
  • Newton Applications Use Heap Space
  • The Alternatives are a Real Step Backwards
  • Author: Various
  • Format: HTML
  • Mirror: Internet Archive
Frames in GoLisp

An explanation of the frames implementation in GoLisp, including comparison to Self & NewtonScript, by which it was inspired.

  • Author: Dave Astels
  • Format: HTML
  • Mirror: Internet Archive
Hammering Newton

Unofficial documentation of the inner workings of Newton OS as gleaned using the "Hammer" low level debugger. The following sections are NewtonScript-specific:

  • Frame Store
  • Author: Filip Zawadiak
  • Format: HTML
How to Work with the Text-to-Speech Extension

An example of developing with the MacInTalk Text-to-Speech extension.

  • Author: William Nelson, Jake Bordens
  • Format: HTML
  • Mirror: Internet Archive
More Newton Text to Speech

An explanation of the embedded commands available in the MacInTalk Text-to-Speech extension.

  • Author: Jim Bailey
  • Format: HTML
  • Mirror: Internet Archive
Newton 2.x OS Q&As

Additional clarification, documentation, and examples for Newton OS 2.x development, including a section devoted to NewtonScript (though much of the rest of the documentation is relevant to developing in NewtonScript anyway). Available as a single page containing all content or multiple pages by section.

  • Author: Apple Computer, Inc.
  • Format: HTML
  • Mirror: Internet Archive
The Newton Application Architecture

Official overview of the Newton application architecture, including the NewtonScript language, view system, object store, and communications system.

  • Author: Walter Smith
  • Format: PDF
  • Mirror: Internet Archive
Newton Book Maker User’s Guide

Official documentation on creating digital books and application help for the Newton, including the use of NewtonScript to customize book interaction, display, and behavior.

  • Author: Apple Computer, Inc.
  • Format: PDF
Newton Bowels

Unofficial documentation of the inner workings of Newton OS. The following articles are NewtonScript-specific:

  • Dictionary Parts (TXT)
  • Events and NewtWorld (TXT)
  • Forks in NewtonScript (TXT)
  • Getting the Pen's Position (HTML)
  • Storage on NewtonOS (TXT)
  • Using the Name Server (TXT)
  • Author: Paul Guyot, Brian Parker
  • Format: HTML, PDF, TXT
  • Mirror: Internet Archive
Newton Formats

Official documentation of Newton data formats and protocols.

  • Author: Apple Computer, Inc.
  • Format: PDF
Newton Formats Errata

Unofficial corrections to errors found in Apple's Newton Formats documentation.

  • Author: Matej Horvat
  • Format: HTML
Newton OS 2.1 Engineering Documents

Official documentation of changes and additions in Newton OS 2.1, including: NewtWorks, keyboard enhancements, grayscale imaging, graphics shapes, sound, dial-in networks, IrDA communications tool, and the eMate 300 multi-user environment.

  • Author: Apple Computer, Inc.
  • Format: PDF
  • Mirror: Newted
Newton OS 2.1 Engineering Documents: Miscellaneous

A preliminary draft version of Chapter 11: Miscellaneous that appears to have been intended to be added to the Newton OS 2.1 Engineering Documents, covering additions in Newton OS 2.1 that weren't, "[L]engthy enough to warrant their own chapters."

  • Author: Apple Computer, Inc.
  • Format: PDF
Newton OS Error Database

A searchable database of Newton OS error codes gleaned from the NTK for Windows v1.6.1 help file, NIE 2.0 API documentation, and Lantern DDK documentation.

  • Author: Various, Victor Rehorst
  • Format: HTML
Newton Programmer’s Guide (for Newton 2.0)

Official documentation for the Newton OS 2.0 application programming interfaces, providing an overview and conceptual information. See the Newton Programmer’s Reference for detailed reference documentation of data structures, functions, constants, and error codes.

  • Author: Apple Computer, Inc.
  • Format: PDF
  • Mirror: Newted, UNNA
Newton Programmer’s Guide: 2.1 OS Addendum

Official documentation covering additions and changes in the Newton OS 2.1 application programming interfaces.

  • Author: Apple Computer, Inc.
  • Format: PDF
  • Mirror: Newted
Newton Programmer’s Reference (for Newton 2.0)

Official documentation of the Newton OS 2.0 protos, methods, functions, data structures, and error codes. A companion to the Newton Programmer’s Guide.

  • Author: Apple Computer, Inc.
  • Format: PDF
  • Mirror: Newted, UNNA
NewtonScript ByteCode

Documentation of the NewtonScript bytecode as compiled through observation.

  • Author: Matthew Faupel
  • Format: HTML
  • Mirror: Internet Archive
NewtonScriptに見る: もうひとつのプロトタイプ指向

An overview of the NewtonScript language presented at the 2008 Lightweight Language conference in Toyko, Japan.

  • Author: Makoto Nukui
  • Date: 2008-08-30
  • Format: PDF, Video
  • Mirror: Internet Archive
The NewtonScript Programming Language

Official introduction & reference material for the NewtonScript language under Newton OS 2.x. You’ll probably want to start here.

  • Author: Apple Computer, Inc., Various
  • Format: PDF
  • Mirror: Internet Archive, Newted, UNNA
プログラミング言語 NewtonScript

An unofficial Japanese translation of Apple’s NewtonScript Programming Language reference.

  • Author: Masahiro Saito
  • Format: PDF
  • Mirror: Internet Archive, Newted
Newton Technology Journal

Apple’s Newton-specific technical journal, published six times per year from 1995-1997. The content is 70% development and 30% marketing.

  • Volume I, Number 1 (PDF; February 1995)
  • Volume I, Number 2 (PDF; April 1995)
  • Volume I, Number 3 (PDF; June 1995)
  • Volume I, Number 4 (PDF; August 1995)
  • Volume I, Number 5 (PDF; November 1995)
  • Volume II, Number 1 (PDF; February 1996)
  • Volume II, Number 2 (PDF; April 1996; translations: Japanese)
  • Volume II, Number 3 (PDF; June 1996; translations: Japanese)
  • Volume II, Number 4 (PDF; August 1996)
  • Volume II, Number 5 (PDF; October 1996)
  • Volume III, Number 1 (PDF; January 1997)
  • Volume III, Number 2 (PDF; March 1997)
  • Author: Apple Computer, Inc., Various
  • Format: PDF
Newton Toolkit 1.6.x File Formats

Official documentation of file formats used by NTK 1.6.x for Windows and Macintosh, specifically Project files, Layout files, and native code module files.

  • Author: Apple Computer, Inc.
  • Format: PDF
Newton Toolkit Tips and Tricks

Tips & tricks for NTK, esp. the Windows version.

  • Author: Matej Horvat
  • Format: HTML
  • Mirror: Internet Archive
Newton User Interface Guidelines (for Newton 2.0)

Official documentation of Newton OS 2.0 user interface and how to optimize software for it, including the whys and hows.

  • Author: Apple Computer, Inc.
  • Format: Book, PDF
  • Mirror: Newted
Newt’s Cape: NewtonScript Syntax

This document covers issues related to embedding NewtonScript syntax in HTML and embedding HTML in NewtonScript.

  • Author: Steve Weyer, Greg Simon
  • Format: HTML
  • Mirror: Internet Archive
Programming for the Newton: Software Development with NewtonScript

  • Author: Julie McKeehan, Neil Rhodes
  • Format: Book
Programming for the Newton Using Macintosh

  • Author: Julie McKeehan, Neil Rhodes
  • Format: Book, HTML
  • Mirror: UNNA
Programming for the Newton Using Windows

  • Author: Julie McKeehan, Neil Rhodes
  • Format: Book
  • Mirror: UNNA
SELF and the Origins of NewtonScript

An introduction to the paper Self: The Power of Simplicity, by Ungar and Smith, which describes the aspects of NewtonScript which were inspired by the SELF programming language.

  • Author: Walter Smith
  • Format: PDF
  • Mirror: Internet Archive
Soups on the Newton

An overview on creating and interacting with soups using NewtonScript.

  • Author: Ian Robinson
  • Format: HTML
  • Mirror: Internet Archive<
The NewtonScript Programming Language

An overview of NewtonScript language, illustrating the differences between object oriented programming paradigms and relating how some NewtonScript features have their own particular programatic flavor.

  • Author: Arno Schödl
  • Format: HTML
User Interface Guidelines for Newton OS 2.1 Keyboard Enhancements

A supplement to Newton User Interface Guidelines which specifically covers the keyboard enhancements in Newton OS 2.1.

  • Author: Apple Computer, Inc.
  • Format: PDF
  • Mirror: Newted
Using a Prototype-based Language for User Interface: The Newton Project’s Experience

An explanation of how the Newton OS user interface was implemented using a prototype-based language (NewtonScript) and the advantages it has over class-based languages.

  • Author: Walter Smith
  • Format: PDF
  • Mirror: Internet Archive
Writing Assembly for Your Newton

Primarily discusses writing, linking, and packaging assembly code for Newton OS, but also covers communicating between assembly code and NewtonScript code.

  • Author: Roger Milne
  • Format: HTML
  • Mirror: Internet Archive

Sample Code

Internal Serial Enabler

Sample NTK & MPW project for Newton OS 2.1 to control the internal serial port, incl. toggling channels and GPIO.

  • Author: Jake Bordens
  • Platform: Mac OS
  • License: Open Source
Newton 2.x OS Sample Code

Official sample Mac OS & Windows NTK projects for Newton OS 2.x.

  • Author: Apple Computer, Inc.
  • Platform: Mac OS, Windows
  • Mirror: UNNA (Mac OS), UNNA (Windows)

Further Reading

Talking with Mikel Evins about the Lisp-based Newton OS

In 2004, Rainer Joswig spoke with Mikel Evins, a former member of Apple’s Newton group, about an early development version of Newton OS written in Lisp.

  • Author: Rainer Joswig
  • Format: HTML
  • Mirror: Internet Archive
Dad Hacker

Reminiscing about early Newton development, programming, and NewtonScript with Landon Dyer, a member of the original Newton team.

  • Patching the Newton
  • Good Stuff
  • Newton Storage History
  • Flash Memories

Also available as audio files from Mac Folklore Radio.

  • Patching the Newton
  • Flash Memories
  • Author: Landon Dyer
  • Format: HTML
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.