Discussion New Language - Discussion

Lyerae

I keep popping up on this site from time to time.
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
You should truly make a decision soon.

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

PrisonLove

Hard Realist
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.
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
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 <-.
 

Xienoph

You can change this now in User CP.
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.
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.
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.
 

SerraAvenger

Cuz I can
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
Feature: Can we remove the forced declaration of locals at the beginning of a function? I hate that.
 

tooltiperror

Super Moderator
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.
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.
  • tom_mai78101 tom_mai78101:
    I have a GIF though
  • tom_mai78101 tom_mai78101:
    In the GIF, I've configured it so the lower the "Main Value" is, the better. I had to compress it pretty far down though.
  • tom_mai78101 tom_mai78101:
    And this is the thread with the video that shows the wall clip. https://tasvideos.org/Forum/Topics/23453
    +2
  • tom_mai78101 tom_mai78101:
    Hmm, about the Headline News, I noticed threads are being moved into the subforum (Health News, Environmental News, etc.). When that happens, the TH Forum Home page loses the articles, and instead would show old articles posted 1 or 2 weeks ago.
  • tom_mai78101 tom_mai78101:
    What do we do with the Home page?
  • Ghan Ghan:
    I added those forums to the filter for that widget.
    +1
  • tom_mai78101 tom_mai78101:
    Oh nice. They're back. Thanks.
  • tom_mai78101 tom_mai78101:
    Now I think it makes more sense for me to put news in their own subforums, without worry.
  • The Helper The Helper:
    Awesome Ghan thanks! I was purposely not moving the first 15 news articles in Headline news to the different subforums but I guess I don't have to do that now?
  • tom_mai78101 tom_mai78101:
    Question: Is there a way to remove thread redirects? It creates a copy of the moved thread and takes up space, and I am leaning towards wanting to remove them in the Headline News. But if they have an expiration date, I guess I'm fine with it.
  • The Helper The Helper:
    If you move a thread please leave a permanent redirect. You can delete any redirects after 6 months. The redirects are left to help Search Engines find the moved content.
  • tom_mai78101 tom_mai78101:
    What if you move the permanent redirect, not the thread?
  • The Helper The Helper:
    I think that works but I have not messed with it. You can delete redirects though if you have to that will not delete the original thread
  • The Helper The Helper:
    if a redirect ends up in the same forum as the post it goes to though I think the redirect drops or fails or something but they are not bugged out and when you are working on an indirect the original post is safe.
  • The Helper The Helper:
    Happy Early Friday :)
    +1
  • V-SNES V-SNES:
    Happy Friday :)
  • tom_mai78101 tom_mai78101:
    Fun Friday for me
  • tom_mai78101 tom_mai78101:
    Happy Fun Friday to all.
    +2
  • The Helper The Helper:
    Happy Sunday everyone!!!
  • V-SNES V-SNES:
    Happy Sunday!!!
    +1
  • jonas jonas:
    Happy monday :p
  • jonas jonas:
    Everyone hates mondays?
    +1
  • The Helper The Helper:
    Happy Tuesday!
  • jonas jonas:
    Happy belated tuesday

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top