Friday, September 3, 2010

ngbasic

BASIC for Javascript

 NGbasic 0.2.18 beta released

  Posted by ngbasic
 Feb-14-2009

 NGbasic forums online

  Posted by ngbasic
 Feb-1-2009

 NG-Basic’s New Home!

  Posted by ngbasic
 Feb-1-2009

 Welcome to NGbasic!

  Posted by ngbasic
 Jan-20-2009

changelog

Posted by ngbasic On January - 20 - 2009

Version 0.2.16 (2006-11-27)

  • As Firefox extensions are Javascript, I hacked the 0.2.14 version to work as an extension in Firefox, making it appear under Tools / BASIC.

Version 0.2.14 (2006-05-20)

  • Problem with Find dialog popping up when ‘/’-key is pressed has been solved. Additionally also ignored the F5-reload key to prevent an accidental loss of a BASIC program.
  • Mysterious ‘OUT OF DATA’ error, when RUNning a program from another program has been fixed.
  • DEF-support implemented, allowing to define functions like:
      DEF FUN(A)=(5+A)*10

Version 0.2.12 (2006-02-22)

  • Internal clean-up:
    • Renamed class ‘emulator’ to ‘interpreter’ for we do not emulate.
    • Removed lots of old debug-messages and other obsolete code.
    • Dropped command ‘CHANGES’ that showed outdated ChangeLog.

Version 0.2.10 (2006-02-17)

  • Bugfixed drawing problem due to wrong order of canvas methods beginPath( ) and closePath( ), which caused polygons to appear. Strangely, this didn’t affect early versions of Firefox 1.5 though.

Version 0.2.8 (2006-02-04)

  • To quickly hack together a Big Font version I had to make some internal changes to override font and window sizes.
  • Made canvas size equal to the window size.

Version 0.2.6 (2005-12-24)

  • IF supports OR & AND through recursion.
  • LLIST lists the program to the ‘emulated’ lineprinter window.
  • Fixed ‘hang’ at line 5001 (MAX_LINES+1) if END was not encountered or if no program was present.

Version 0.2.4 (2005-12-11)

  • Graphics supported through Firefox canvas object.
  • Assignments now follow the ‘official’ order of operations through recursion.
  • *MAJOR* rewrite of parsing routines;
    • INPUT standards-conform.
    • IF..THEN..ELSE standard-conform (no OR / AND yet)
    • RUN supports direct filename now.
    • String functions now contain ‘$’-sign like the standard suggests (i.e. MID(..) now is MID$(..)).
  • New commands:
    • NEW clears current program from line memory.
  • New functions: SQR( ), VAL( ), STR$( ), CHR$( )
  • First element of array now contains its length (or, the maximum assigned element).
  • PRINT uses rewritten getValue( ) routine now, as do IF and FOR.
  • LPRINT support built-in (outputs in seperate window).
  • Division by zero properly caught.

Version 0.2.2 (2005-12-07)

  • GOSUB/RETURN implemented.
  • Completely removed all eval() calls.
  • Assignments heavily bugfixed.
  • Lots of new routines, string and numbers.

Version 0.2.0 (2005-12-05)

  • Another method for storing & retrieving variables implemented which no longer requires the use of the evil eval( )-call. This re-write might have broken some things I’m not yet aware of though.
  • History implemented (use Arrow Up & Arrow Down to go through it).
  • READ and DATA implemented. Note that DATA lines should be encountered before the READ lines, though.
  • DELAY msec implemented, which can change the run-interval (default is fast and might put a load on the browser). To change to 1 line per second, use DELAY 1000.
  • IF..ELSE now supported
  • COLOUR cursor_fg,cursor_bg,screen_bg implemented
  • LET can now concat strings (LET A$=B$+C$, et cetera).
  • Ctrl-C abort message now mentions program position.
  • EXIT implemented which closes the window the interpreter is loaded in.
  • Theme ‘YO’ implemented as PoC; use GOYO to activate.

 
Version 0.1

  • Virtual FS (local & remote) implemented.

Popularity: 6% [?]

Add A Comment

You must be logged in to post a comment.