A client-side version of Prolog using Javascript.
|
|
|
||||||
|
A client-side version of Prolog using Javascript. A JavaScript implementation of the Cat programming language. Cat is a postfix language, this means that arithmetic operations are written so that operators follow their operands. This prolog is enhanced with the JavaScript callout capability though a rudimentary external/3 call. jsforth is a Forth which has been implemented in JavaScript, using a web browser as host platform. NG-BASIC is a BASIC interpreter written in Javascript. This means it is basically platform independent, and can run on any pc with a web browser! NGbasic includes a virtual filesystem that hosts a few test-programs and works-in-progress and registered users will be able to log in and load and save their programs! Use NGbasic to [...] Now, this reminds me of my first computer and my first programming… As you see, this interpretes the good old Apple Basic This adds an interesting flavour to all the Lisps in JavaScript. LispScript is a Common Lisp program that translates Lisp programs into Javascript. It’s extremely simple at the moment, but has support for basic arithmetic functions, defun, IF, macros, and LET. It currently works with CLISP. Here is yet another Lisp interpreter. It would be interesting to see some comparison amongst the ones referenced here. The choice of instructions and some of the implementations of the composite functions were taken from Roger Rohrbach’s Lisp in Awk interpreter. The syntax is standard, and only integer arithmetic is available. Primarily because it is easy to implement, scoping is dynamic as in original Lisp and unlike modern Lisp or Scheme. Sarien.net is a browser-based interpreter for adventure games published by Sierra On-Line in the 1980’s. These games involve titles such as Leisure Suit Larry, Space Quest and Police Quest. The Sarien.net javascript interpeter was written from scratch, and uses ported bits of the original Sarien interpreter. |
||||||
|
Impressum © 2009 is-research GmbH |
||||||