Discussion New Language - Discussion

> Make C++ loops.

Im going to try to implement a bunch of loop types.
 
Big Idea: Don`t make it an AddOn to the editor. Instead, make it a stand alone program, that changes the new code into normal JASS, so you can just CnP.
 
Big Idea: Don`t make it an AddOn to the editor. Instead, make it a stand alone program, that changes the new code into normal JASS, so you can just CnP.

bad idea... a lot of people like working in WE... why? So they can do their object editor stuff and coding in one go.

Now what you could do is add a new editor into wc3 or replace the trigger editor all together. Again, this should still be separate from the core...
 
But how do you plan on making it cross platform with Macs, then?

Like, this is a legit question, what would be the method?
 
C runs natively under Mac, I believe, though some of the elements are different.
I'll need someone to test it though, and report bugs.
 
use java?

not that i expect any of you to succeed...
 
use java?

not that i expect any of you to succeed...

Narks.. I have to succeed or I fail my c# class, so you can expect my project to be done -.-.

I made a complete JASS parser for my perl class last semester, and you can believe me that I did it.
 
> use java?

I have a severe dislike for Java.
 
Like HTML?
<function takes="nothing" returns="nothing">
</endfunction>

Odd, but usable. :p
 
Yes, still. Markup-style would be very possible, though it's not quite what we're looking for here.
 
This:

Code:
<function name="aa" takes="nothing" returns="nothing">
   <var type="unit" name="u"></var>
   <u><CreateUnit>Player(0),'dumy',0,0,0</CreateUnit></u>
</function>

or

Code:
<function name="aa" takes="nothing" returns="nothing">
   <var type="unit" name="u"></var>
   <u><CreateUnit param=Player(0);'dumy';0;0;0 /></u>
</function>

to This:

JASS:
function aa takes nothing returns nothing
   local unit u
   u = CreateUnit(xxxxxxx)
endfunction


Looks weird though. and longer
 
blurb_facepalm2_20090622.jpg
Why did markup actually come into this?
 
It didn't really, it was just a side-conversation, really.

Anyway, Windows has been... Windows, lately, so I'm dual-booting into Ubuntu 9.10. As soon as I get the tools I need working, then I'll be actively working on it.
 
Okay! I'm on Ubuntu, and I've got Code::Blocks working properly.
I've decided I'm going to use C++ for this, instead of C, since it'll be easier to find information on how to make it more efficient.

Anyway, I wanted to ask a few questions before I started making the layout of the language.
What kind of language (and features) do you want?
I can add any kind of feature you guys want, provided it's possible, and I can find a way to make it (efficiently, of course).

Also, I had an idea.
I want to do "classes", which are basically like vJASS structs, but use a global hashtable (which will have some huge, odd name to prevent it from being used accidentally. (okay, not that huge, but something people wouldn't use normally.)) instead of arrays. What do you guys think about that?

And finally, I'm open to name suggestions, if anyone wants to throw some out there. :p
 
isn't classes the same as structs??

Only that it has "Public", "Private", and "Protected" types..


How about working on `SWITCH`.. It makes Conditions easier..
 
I would like if you added a pool key word, that would be very useful. A pool would be like a data base, so you would just have to convert them into arrays.

JASS:
//example;
 globals
     pool unit undead
 endglobals


So, think of it like a unit group. But, the reason it`s so cool, is that you would be able to do it with any variable type. Like strings. You could add everything someone says into the pool, without having to do array stuffs. You could even do some tricks to breach the limit of 8,000, which would be great for systems like AIDS.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I'm now realizing I could have cut out like 99% of this print and it would have been fine cuz I just need to see if a frame will fit over an LCD
  • Varine Varine:
    Oh well
  • Varine Varine:
    I'm not an engineer
  • Varine Varine:
    Although this filament is kind of expensive, I should probably be a bit more wary of that.
  • The Helper The Helper:
    I love the whole concept of 3D Printers and am very happy you have one so I can hear about them
  • The Helper The Helper:
  • Varine Varine:
    I have a couple of them, but I only have room for one to be set up at the moment
  • Varine Varine:
    So I picked the biggest one. When I bought it, I didn't realize that they used a lot of proprietary parts. So, I want to use these Volcano nozzles that are really cheap and easy to find instead of what they have, which are like, modified Volcano nozzles
  • Varine Varine:
    They are just a little bit longer than the regular ones. Like, we're talking .5mm or some shit. But that little bit makes the nozzle just long enough to extrude past the rest of the hardware on the extrusion system, I can't find my notes on it but I think it's like a .25mm gap from the end of the nozzle to the bed mesh sensor. Very small.
  • Varine Varine:
    So I bought a bunch of different parts to try and figure out how to make this work, and in the process changed some of the electrical components like the thermistors, but never got around to figuring out how to make the firmware account for the different hardware. Resulting in it not interpreting the voltage change to mean that the thermistor was above temperature, so it didn't shut off the heating core and it just kept pumping heat out
  • Varine Varine:
    I have most of the stuff I need to build an enclosure so I can heat the chamber for different plastics that need to have a pretty consistent temperature through the whole model, and then I can get my other ones set up too. I have a shitty Ender but that one is super easy to modify, but it's also very outdated and kind of a nightmare to work with. I think I'm going to cannibalize it for parts and just run my big one and another little one.
  • Varine Varine:
    I think I solved my problem with digitizing reels tho!
  • Varine Varine:
    Like Super 8 reels. Actual equipment to do it is like, thousands and thousands of dollars, and the cheap ones are useless, so I'm trying to build one so I can just use the same camera I use for slides and negatives. Much cheaper
  • Varine Varine:
    Anyway, it kind of works, but the take up reel is kind of tricky because you need to spin it directly to wind the tape onto it. And as it fills, you need to slow it down, and that's kind of complicated. More complicated than I wanted to try and account for, anyway.
  • Varine Varine:
    So I have the first motor that has gearing pull it from the original reel, through a set of pullies to keep some tension, and then a second motor synced with the first to guide it through the projection port so I can capture the images
  • Varine Varine:
    All that's easy enough, I just need to make sure I don't get too much force onto the film itself so I don't accidentally tear it.
  • Varine Varine:
    Then I think my solution to the take up reel is to have a kind of dancing lever on a spring in between two limit switches
  • Varine Varine:
    So, as the tape comes towards the take up reel and makes slack, that lever is pulled up by a spring to keep the tension on the film, it hits a limit switch to engage the take up reel motor at some point, and as that winds in the film, the film pushes the lever back down to a second limit switch to disengage the motor again. Slack builds up, spring pulls it back, ad infinitum
  • Varine Varine:
    Well, until the reel is empty anyway.
  • Varine Varine:
    I'm guessing it's going to be much harder than I feel like it is going to be right now, but I think it's a pretty elegant solution that doesn't rely on software to control it. The less software I need to use the better
  • Varine Varine:
    I'm just not a very good programmer, as much as I want to be I suck at it
  • The Helper The Helper:
    Programming that printer is going to be similar to programming a big machine like in a machine shop. There is good money in programming CNC machines.
  • The Helper The Helper:
    +1
  • Varine Varine:
    They are pretty similar, but this one is much less involved than a real CNC. A lot less moving parts
    +1
  • The Helper The Helper:
    Happy Monday!

      The Helper Discord

      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