Discussion New Language - Discussion

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
I was thinking about designing it for Moonlite, but until I can actually use it, I can't make that decision.

Also, I'm probably going to do this in Python, since it let's anyone modify it without having to download source, edit, recompile, debug...
If I end up not doing it in Python, it'll be C#, most likely.
 

tooltiperror

Super Moderator
Reaction score
231
You should truly make a decision soon.

And the awesome possum part of python would be cross platform support.
 

PrisonLove

Hard Realist
Reaction score
78
I thought the same thing. I've actually thought about it for about a month now.
I'm going to still develope a JASS version, but as soon as SC2 comes out, I'll be dropping the JASS version. Earlier if Galaxy is any good.

Hell, I won't even work on a JASS version if I get the beta with the editor. I'll just work entirely on Galaxy.
Just pre-order your game from Gamestop, you'll get a free beta key. I did that, but I have a mac so I doubt I'll be able to run beta since the mac client doesn't work yet lol. I really pre-ordered it just so it would ship to my house and I would be guaranteed a copy though, I don't care so much about the beta.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
I'd do that, but I'm broke at the moment, and my first "priority" with money is a new laptop, since mine is really old...

And I think I'll do Python, because of it's ease-of-use.
If speed becomes an issue, I read about a system which converts the code into native code, increasing speed by 20-50%. Can't remember the name though. I'll have to ask on the Python IRC.
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
128
I wouldn't go python.

I'd go IronPython.

IronPython is a .Net language such as C# but you code in Python!

Make your Python code up to the .Net framework, because seriously, Python is old and I won't ever get it's VM. However most PCs have the .Net VM already installed <-.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
Python is updated more often than C#.
And more widely supported.
 

Xienoph

You can change this now in User CP.
Reaction score
43
Plus it has PLY. It's easy to use once you've understood how it works.

EDIT: Now that I've read a couple more replies to the thread ... you guys should decide on the lexer / parser first, THEN the library. Anyway, I've used PLY for a language before. So if you're using Python with PLY, I can help you.

EDIT2: Library? I meant programming language.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
I was considering pyparsing, but if Ply is more powerful, I'll definitely use that. I'll read over the documentation in a moment.
 

Xienoph

You can change this now in User CP.
Reaction score
43
I haven't heard of Pyparsing before. I doubt it's less powerful than PLY. It looks like PLY with shortcuts, which means shorter code. But it looks harder to understand what's going on than PLY oO.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
Yeah, Ply seems more powerful. I think I'll use that.
 

SerraAvenger

Cuz I can
Reaction score
233
I was thinking about designing it for Moonlite, but until I can actually use it, I can't make that decision.

Also, I'm probably going to do this in Python, since it let's anyone modify it without having to download source, edit, recompile, debug...
If I end up not doing it in Python, it'll be C#, most likely.
I'ld use ruby + racc. Python is okay, too...
I haven't worked with racc yet, though. Back in the days, I used python+TPG to play a little with compiler construction.

>Python is old
LOL. Computers are older than python, so I guess I should stop using computers oO

>If speed becomes an issue
It's probably of algorithmic nature. I hardly believe a constant factor speed increase will do much improvement (even if it is about 10-15). I don't believe speed will become an issue though : )
 

Tyrulan

Ultra Cool Member
Reaction score
36
Feature: Can we remove the forced declaration of locals at the beginning of a function? I hate that.
 

tooltiperror

Super Moderator
Reaction score
231
Feature: Can we remove the forced declaration of locals at the beginning of a function? I hate that.
The problem with that is syntax checking D: But just keep it out of loops and stuff and hopefully it will work<3
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
o_O

Well, after talking to some people, I've come to the the conclusion that I don't know enough about parsing (and/or compiling) to actually make this, so I'm going to "put it on hold" until I do know enough.

I still fully intend to create this. It'll just take awhile longer.
(I figured it'd be better to "take my time" and learn, rather than quickly burn through everything, and end up screwing it all up, and waste time.)

:(
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday Night!
    +1
  • The Helper The Helper:
    Going out of a town for the weekend will be back sunday night! Hope everyone has a great weekend!
    +2
  • The Helper The Helper:
    Happy Monday!
  • Ghan Ghan:
    Monday? Speak for yourself. :p
    +2
  • The Helper The Helper:
    Happy Taco Tuesday!
    +1
  • The Helper The Helper:
    Tacos! :)
  • The Helper The Helper:
    Check out the discord for taco pictures :) You cannot put pictures in this chat
    +1
  • The Helper The Helper:
    Damn here come the bots again - 193 online but they are totally invisible to any stats - bunch of bots!'
  • C cubanismo:
    Re: Taco Tuesday, if there were some way to share edible tacos over the internet, technology would be complete.
    +2
  • The Helper The Helper:
    One can only wish!
  • tom_mai78101 tom_mai78101:
    I'm back from Taiwan
    +1
  • The Helper The Helper:
    I am reorganizing the site I know nobody will notice but I am not done quite yet but the main forums order has been changed and there is a new news category in Other News which is all the remaining headline news stuff not categorized - Headline News is just the stuff that shows on the main page now and the news archive is off the main forums page
  • The Helper The Helper:
    and the real archive lives off of headline news
  • The Helper The Helper:
    Happy Monday!
  • V-SNES V-SNES:
    Happy Saturday!
  • The Helper The Helper:
    Happy Saturday Night!

    The Helper Discord

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top