[NTLK] [ANN] Walter Smith releases a 1997 NewtonScript implementation

Morgan Aldridge morgant at makkintosshu.com
Sun Nov 19 18:43:52 EST 2017


Very cool, Matej! Looks like Walter Smith has added some additional commits
that get it compiling & running on OS X, as well.

Morgan

On Sun, Nov 19, 2017 at 12:35 Matej Horvat <matej.horvat at guest.arnes.si>
wrote:

> Amazing!
>
> I got it to compile with Visual C++ 2008 with a few modifications.
>
> In its current state, the test program ("test.cpp") reads the NSOF stream
> "play.stm", which contains a compiled version of the code in
> "exceptions.ns.txt", prints it, and executes it:
>
> {class: #32, instructions: <instructions 9 bytes>, literals: [literals:
> {class:
> #32, instructions: <instructions 24 bytes>, literals: [literals: evt.ex,
> Throw,
> "e*v*t*.*e*x**", Print], argFrame: nil, numargs: 0, DebuggerInfo: nil},
> {class:
> #32, instructions: <instructions 94 bytes>, literals: [literals: evt.ex,
> evt.ex.
> bozo, evt.ex.fr, Throw, "e*v*t*.*e*x* *m*i*d*d*l*e**", Print,
> CurrentException,
> "e*v*t*.*e*x* *i*n*n*e*r**", "e*v*t*.*e*x* *o*u*t*e*r**"], argFrame: nil,
> numarg
> s: 0, DebuggerInfo: nil}, [2: nil, f1, f2], f2], argFrame: nil, numargs:
> 65536,
> DebuggerInfo: [dbg1: 0, tests]}
> "e*v*t*.*e*x**"
> nil
>
> What's next? ;)
> ----------------------------------------------------------------------
>
> http://newtontalk.net/
> http://twitter.com/newtontalk
>
-- 
Morgan
---
http://makkintosshu.com/
http://centresteer.com/
http://seriesparts.com/
http://unna.org/



More information about the NewtonTalk mailing list