Delen via


TryRuby for BASIC: I Want One

Have you seen Try Ruby? I want one for BASIC. And maybe for JScript. Except I want the interpreter to be in the browser, not on a server.

Comments

  • Anonymous
    April 26, 2006
    JScript is easy: some Browsers have a "JScript Console".  You can emulate one with a simple HTML document with a TextBox that eval()s the textbox and clears it on submit/enter/whatever.

    BASIC is a bit tougher.  You probably want to build a JScript-based interpreter.  (Unless you plan on IE-only and then you can get away with eval()ing VBScript.)
  • Anonymous
    April 26, 2006
    JScript should be easy, but it's the learning content that's the experience I want. BASIC would require someone to write a BASIC interpreter in JScript. All "should be easy," but the devil would be in the details.
  • Anonymous
    April 26, 2006
    The comment has been removed
  • Anonymous
    April 26, 2006
    The main reason I want it executed on the client is so the server doesn't get overloaded. The main reason of "in the browser" is to eliminate the need to have any bits persisted onto the client.