Thread: Test: Parser and language

  1. #1
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072

    Test: Parser and language

    I've made a parser and then extended it into a simple programming language, called Omicron.

    If someone wants to test it and give me some feedback, it'd be great.

    I've put the (still small and inadequate) documentation out on the net at http://www.strandmark.com/omicron.shtml

    The language curently supports:
    *Multi-dimensional arrays
    *Definition of new operators
    *Built-in mathematical operations (derive, eq solver)
    *Most C++ operators
    * ^ (power) operator
    *Run-time user input

    One big, big drawback is of course: SPEED. But one can't get everything...

    There's also an online compiler at the page above. However, it does not handle the 'input' keyword, for obvious reasons.
    Last edited by Sang-drax; 07-07-2002 at 12:02 PM.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  2. #2
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072

    Forgot one thing...

    Here's the file BTW

    Sorry for the size.

    http://barbapapqa.dyndsl.com/program/Omicron.zip
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 04-06-2007, 04:55 PM
  2. parser error recovery
    By valis in forum C Programming
    Replies: 8
    Last Post: 03-12-2006, 02:43 PM
  3. Need algorithm for parser for Context-Free Grammar
    By Koedoe in forum C++ Programming
    Replies: 4
    Last Post: 04-07-2005, 01:31 AM
  4. Messages and global scripts?
    By suzakugaiden in forum C++ Programming
    Replies: 11
    Last Post: 02-18-2005, 11:38 PM
  5. Natural Language Parsing
    By edk in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2002, 07:06 PM