Discussion New Language - Discussion

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
In another thread, someone commented about having someone else work on vJASS (at least that's what I think he implied), so I replied that I had been planning to make a language built specifically as a "holy crap, I'm bored so I'm making this" kind of project.

But for an hour or so, I started thinking.
We could really, REALLY use a new language. cJASS is broken last I heard, and it seems vJASS has a lot of bugs (I don't pay attention to this stuff unless it directly affects me, so meh. :/ ), and each are developed by a single person.

I personally believe this is very inefficent, and by making a new language, with a team of people working on it, we can create a brand-new language, which has minimal bugs and/or issues, has frequent updates, cross-platform, and has the features people want.

So I mainly want to ask this: Would you want a brand new language, which has all the features that vJASS currently has (and cJASS, possibly.), built into a fast compiler, which has as few as possible bugs (hopefully, at least.).

(Now, despite what I had said about having a team work on this, I'd be more than happy develop the language and build the parser myself. I just need input on features.)

PS: This will be written in C, and will be as cross-platform as possible.
 
acceptable but what exactly you want to make? i mean, new methods to do things and those things already destroy/remove/null things to prevent bugs? or i don't get what you want :banghead:

because some extra language = more things to people learn
 
I'm fine with vJass right now

not really in the mood to learn everything all over again
 
Because Vexorian is lazy, maybe? Or is unwilling to add things.

I'd make this as close as possible to vJASS, in terms of features, so it wouldn't be hard to learn (though I'll likely have a more features).
 
like <example> everything you just start any variable with location/group, then start some script which will check when the endfunction come and already remove/destroy that location/group and null then without any other command?
 
Erm, sorry. Not sure I understand what you mean.
Your saying something about automatic leak-checking?
I could possibly do that, if I can find an efficent way to do so.
 
yes, is a leak-checker-remove


something like this:

JASS:
function Test takes nothing returns nothing
    local location point

this will run other script in the 'new language'
JASS:
&#039;save&#039; location point in P

then continue the trigger
JASS:
...
    call ...
    call ...
endfunction

when the save map read the 'endfunction' the script will search for EVERY thing saved in the script and will clear and remove <just like newgen, when you save the map, it convert every vjass to jass>
JASS:
&#039;load&#039; location point from P
call RemoveLocation (point)
set point = null
 
> 'new language'

Just call it "X Code" or something like that for now. Easier than "new language".

And yes, that should be perfectly possible, and it's very likely I'll add it.
 
Personally, I'd be happy if I could code jass using an interpreted language and have access to a lexical object that contained the environment : |.

Also, one time extraction of map archive depending on what I'm using (war3map.j, etc) and one import.

If the core is around this idea, that'd be awesome. The interpreted language could be written using #s to signify preprocessing. Also the scripts should know where they are in the lexical environment (static text). Interscript communication (all one file), and etc.

The language you'd write would work in this core and be like a standard distribution for extending JASS.

Make it like this and that will be golden : ). I suggest Lua as Grimoire already uses it... ><

And use this distribution please: http://luaforwindows.luaforge.net/

And be sure to rewrite stuff like ObjectMerger to work with 1 import concept (should be inside of the core).

I'm fine with vJass right now

not really in the mood to learn everything all over again

lol... vjass is so screwy. cJASS and Zinc are more screwy though ^^.
 
Well, I was personally thinking of creating a whole new language, with vJASS like features (of course, I'd add structs, a library-like implementation, storage enhancers, etc), and then adding some way to add new scripting languages, such as Lua, or Euphoria (the one you've been talking about), and others.

I'm not 100% sure on how to do this yet. I've got a lot of research to do.
 
Don't forget that the only language Wc3 can read is vanilla JASS. Whatever you do will need to be able to compile to that; nothing more, nothing less.
 
Yes, thank you. I'll be sure it makes valid code. Even if it takes months of working on it.
 
Yes, thank you. I'll be sure it makes valid code. Even if it takes months of working on it.

if it takes months, sc2 will be out within 2-3 months of you doing your first release, hence the reason I mentioned doing a core that could be applied to anything and working off of that.. ><

Make your stuff reusable or you'll regret it later : D.
 
Well, I've been thinking of making the parser read a simple XML file (or something like it), which actually defines the language, and have the parser output code based on the XML files definitions.

How's that sound?
 
uh huh, but you should replace preprocessing directives in all languages (#) with an interpreted language that's part of the core.. : |, as well as lexical environment.
 
Make C++ loops.

JASS:
     for(int x = 0; X&lt;10; X++)
          {
               call BJDebugMsg(I2S(x))
          }


Also, maybe a global variable keyword?

JASS:
 function global takes nothing returns nothing
     global integer x = 0
 endfunction


Or, maybe, a global function call.

JASS:
 function global takes variable variable, string name, value value, returns nothing
     globals
        variable name = value
     endglobals
 endfunction


Something to that effect, I think it would be possible, you just have to add some fancy stuff. Still an idea.

Edit: Me, and maybe Weep, could beta test for Macs, if you go through with it.

EditEdit: And prettier text macros, please? Maybe, a keyword, or a better syntax? Maybe with asteriks?

JASS:
 *textmacro example *unit
     call KillUnit(*unit*)
 *endtextmacro
 
Or, maybe, a global function call.

JASS:

 function global takes variable variable, string name, value value, returns nothing
     globals
        variable name = value
     endglobals
 endfunction
I like how that doesn't make sense.

>yes, is a leak-checker-remove
I like how that changes what the map does. Nothing in WC3 actually leaks, thanks to the FogState hashtable --> agent thing. What if you purposely "leak" a sequence of locations, so that you can iterate through handle ids later and retrieve them for use?
 
Of course it doesn`t.

It was almost thinking without logic, if you will.

The idea was thinking of C in JASS with the JASS and C misfigured.
 
General chit-chat
Help Users
  • The Helper The Helper:
    alternatively if you not making at least 23 an hour you could work in an Aldi warehouse
  • Varine Varine:
    Yeah I've been thinking about using AI for shit. I'm on vacation next week so I'm going to spend some time reorganizing everything and getting all my shit back in order
  • Varine Varine:
    lol I technically make less than 23 right now because I'm on salary and am there all the time, but it's a lot more than a normal wage still. I also have a meeting soon to renegotiate my pay because I want about a 25% increase to account for what I'm actually doing or a re-evaluation of our duties so that that my responsibilities are more in line with my pay. Depending on how that goes I'm prepared to give notice and move on, I don't mind taking less money so I'd have time for the rest of my life, but I'd rather they just fucking pay me enough to justify the commitment on my end. Plus right now I hold pretty much all the cards since I'm the only one actually qualified for my position.
    +1
  • Varine Varine:
    The other chef was there before me and got his position by virtue of being the only adult when the old general manager got married and didn't want to deal with the kitchen all the time, and happened to be in the position when the GM quit. New GM is fine with front of house but doesn't know enough about the kitchen side to really do anything or notice that I'm the one primarily maintaining it. Last time I left they hired like 3 people to replace me and there was still a noticeable drop in quality, so I got offered like 6 dollars an hour more and a pretty significant summer bonus to come back
  • Varine Varine:
    So honestly even if I leave I think it would last a couple of months until it's obvious that I am not exactly replaceable and then I would be in an even better position.
  • Varine Varine:
    But as of right now I have two other job offers that are reasonably close to what my hourly equivalency would be, and I would probably have more time for my other projects. The gap would be pretty easy to fill up if I had time to do my side jobs. I use to do some catering and private events, personal lessons, consultations, ect, and I charge like 120 an hour for those. But they aren't consistent enough for a full time job, too small of a town. And I'm not allowed to move for another year until my probation is over
  • Varine Varine:
    I guess I could get it transferred, but that seems like a hassle.
  • Varine Varine:
    Plus I have a storage room full of broken consoles I need to fix. I need to build a little reflow oven so I can manufacture some mod chips still, but it'll get there.
    +1
  • Varine Varine:
    I would like to get out of cooking in general at some point in the next ten years, but for the time being I can make decent money and pump that into savings. I've been taking some engineering classes online, but those aren't exactly career oriented at the moment, but I think getting into electronic or computer engineering of some sort would be ideal. I'm just going to keep taking some classes here and there until there's one that I am really into.
    +2
  • The Helper The Helper:
    There is money in fixing and reselling consoles. Problem is people know that so they are doing it
  • The Helper The Helper:
    If you can find a source of broken consoles though you can make money fixing them - sometimes some big money
  • Varine Varine:
    I was buying them on Ebay, but it's pretty competitive, so more recently I've just been telling the thrift stores to call me and I will come take all their electronics they can't sell. I've volunteered there before and people use them like a dump sometimes, and so they just have a massive amount of broken shit they throw away
  • Varine Varine:
    The local GoodWill was pretty into it, surprisingly the animal shelter store was not. The lady I talked to there seemed to think I was trying to steal stuff or something, she wasn't very nice about it. Like I'm just trying to stop you having to throw a bunch of electronics away, if you can sell it great. I'd probably pay you for the broken shit too if you wanted
  • Varine Varine:
    Then I make posts on Facebook yard sale pages sometimes saying I want your old electronics, but Facebook being Facebook people on there are also wary about why I want it, then want a bunch of money like it's going to be very worth it
  • Varine Varine:
    Sooner than later I'm going to get my archives business going a little more. I need some office space that is kind of hard to get at the moment, but without it, I have to be like "Yeah so go ahead and just leave your family heirlooms and hundred year old photographs here at my shitty apartment and give me a thousand dollars, and next month I'll give you a thumb drive. I promise I'll take care of them!"
    +1
  • Varine Varine:
    I can do some things with them at their home, but when people have thousands of slides and very delicate newspaper clippings and things, not really practical. I
  • Varine Varine:
    I would be there for days, even with my camera set up slides can take a long time, and if they want perfect captures I really need to use my scanners that are professionally made for that. My camera rig works well for what it is, but for enlargements and things it's not as good.
  • Varine Varine:
    I've only had a couple clients with that so far, though. I don't have a website or anything yet though.
  • Varine Varine:
    Console repair can be worthwhile, but it's also not a thing I can do at scale in my house. I just don't have room for the equipment. I need an office that I can segregate out for archival and then electronic restoration.
  • Varine Varine:
    But in order for that to be real, I need more time, and for more time I need to work less, and to work less I need a different job, and for a different job I need more money to fall back on so that I can make enough to just pay like, rent and utilities and use my savings to find these projects
    +1
  • Varine Varine:
    Another couple years. I just need to take it slow and it'll get there.
  • jonas jonas:
    any chance to get that stolen money back?
  • jonas jonas:
    Maybe you can do console repair just as a side thing, especially if there's so much competition business might be slow. Or do you need a lot of special equipment for that?
  • jonas jonas:
    I recently bought a used sauna and the preowner told me some component is broken, I took a look and it was just a burnt fuse, really cheap to fix. I was real proud of my self since I usually have two left hands for this kinda stuff :p
  • tom_mai78101 tom_mai78101:
    I am still playing Shapez 2. What an awful thing to happen, Varine, and hopefully everything has been sorted out soon. Always use multi-factor authentication whenever you have the opportunity to do so.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top