Closed Thread
Results 1 to 6 of 6

Thread: I can't decide.

  1. #1
    Join Date
    Jan 2010
    Location
    Meridian, MS.
    Posts
    16
    Rep Power
    0

    I can't decide.

    Well, I've run into a problem.
    I'm trying to build a parser (I've made a few topics about it here before, but this is very different from those) for a scripting language.

    This scripting language is called JASS. It is an incredibly limited scripting language, built into the game Warcraft III.
    What this parser does, it take special keywords (and such), and put things into a script file (which already contains hundreds of lines of the JASS language) based on those keywords.

    I feel the need to offer a better suggestion, so here is one.
    The language isn't Object Oriented, and some people like structs. So for this new language the parser will parse, I'll be adding structs. What's this does, is look for two specific keywords (struct, endstruct), and parse the output based on the contents. The contents can be variable, or methods (functions).
    Variables become global arrays (with the array index becoming the instance of the struct), whereas methods become functions with a long string attached to the beginning so you must create an instance of the struct to call the method.

    This is just a bare basic explaination of one of the very basic features I'll be adding.
    But the point of this thread isn't to annoy you with explainations.

    I have two problems. First, I need to decide on a programming language to use.
    I was going to use C, but someone else had wanted to help with the project (it's a huge project), but only knew C++, but I personally find C++ to be to complicated for me to learn at the moment. So I had thought about Python, but due to the fact it's interpreted, it wouldn't work. I was also considering C# or Visual Basic, but this program needs to work on Windows, Linux, and Mac computers.

    So I need a programming language, which is fast, runs natively on Mac, Windows and Linux, has powerful and simple file operations, and has a lot of documetation.

    My second question would be this: What is the best way to define the new language for the parser?

    I'd very greatly appreciate any kind of help. This project is very important to me, and I want to make sure it's done as efficently as possible.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jan 2010
    Location
    Meridian, MS.
    Posts
    16
    Rep Power
    0

    Re: I can't decide.

    Bump.

  4. #3
    saeras's Avatar
    saeras is offline Learning Programmer
    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    67
    Rep Power
    8

    Re: I can't decide.

    Excuse me if i have gotten anything wrong but why can't you use python?

  5. #4
    Join Date
    Jan 2010
    Location
    Meridian, MS.
    Posts
    16
    Rep Power
    0

    Re: I can't decide.

    Because I don't know how to compile it, and make it 100% cross platform.

  6. #5
    saeras's Avatar
    saeras is offline Learning Programmer
    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    67
    Rep Power
    8

    Re: I can't decide.

    You don't need to compile it. As long as the OS have python installed it should be able to run the 'insert name here'.py file.

  7. #6
    Join Date
    Jan 2010
    Location
    Meridian, MS.
    Posts
    16
    Rep Power
    0

    Re: I can't decide.

    That's a bit of a problem for me, honestly. This needs to run 100% natively, and not need any third-party framework/layer (like .net and Python).

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Laptop, You Decide!
    By SterAllures in forum The Lounge
    Replies: 14
    Last Post: 06-01-2009, 09:55 AM
  2. Trying to decide how to do this...
    By Someonespecial in forum PHP Development
    Replies: 1
    Last Post: 04-01-2009, 01:40 PM
  3. Can't decide between C++ and VB.NET 9
    By Sniped Sniper in forum General Programming
    Replies: 6
    Last Post: 11-27-2008, 11:51 AM
  4. Can't decide on a language
    By Sniped Sniper in forum General Programming
    Replies: 9
    Last Post: 10-16-2008, 08:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts