BlackHole project

Jesus4Lyf

Good Idea™
Black Hole
Version 1.0.4 BETA​

Requirements:
- Java 6

How to use:
Run from the command line using in the folder of BlackHole.jar using: java -jar BlackHole.jar
This will parse all ".void" files inside the "void" scripts directory into a single "Output.SC2Lib" file to be imported into your map.

Example Voidscript:
JASS:
library TEST { // Test library
	int count = 0;
	public void Increment(int toAdd){
		count += toAdd;
	}
	public gui int GetCount() {
		return co/* random comment*/unt;
	}
}


Features:
Previous to-do which was here was completed.
Will document features properly some time...

Change List:
- Version 1.0.4 BETA: Implemented private identifiers. Changed previous "public" to "gui".
- Version 1.0.3 BETA: Added parsing of init{} syntax in libraries, implemented array parsing.
- Version 1.0.2 BETA: Initial groundwork for init{} and arrays completed.
- Version 1.0.1 BETA: Massive refactor.
- Version 1.0.0 BETA: Release.
 

Attachments

Jesus4Lyf

Good Idea™
Hi,

I'm attempting to write a parser which should compile SC2Lib files from a galaxy-like syntax.

Just scouting for interest before I get too serious. Objectively is loosely a decompiler for galaxy script, so writing GUI can be made easier. :thup:

Writing it in Java. I don't care about compile time efficiency, I care about maintainability. :)
 

Troll-Brain

You can change this now in User CP.
Isn't it to much early ?
I highly hope Blizzard will allow us to convert a trigger in plain galaxy when the official editor will be released, like wc3 in fact.
 

Vestras

Retired
Hi,

I'm attempting to write a parser which should compile SC2Lib files from a galaxy-like syntax.

Just scouting for interest before I get too serious. Objectively is loosely a decompiler for galaxy script, so writing GUI can be made easier. :thup:

Writing it in Java. I don't care about compile time efficiency, I care about maintainability. :)
If you could make a Galaxy --> SC2Lib parser I would love it. I need that for Moonlite, so go ahead and do it please.
:thup:
 

Joker(Div)

Always Here..
Isn't it to much early ?
I highly hope Blizzard will allow us to convert a trigger in plain galaxy when the official editor will be released, like wc3 in fact.
They stated they aren't going to have galaxy as a part of the trigger editor in the last Twitter Q&A session.
 

Troll-Brain

You can change this now in User CP.
They stated they aren't going to have galaxy as a part of the trigger editor in the last Twitter Q&A session.
OMG :thdown:
Even in the worst scenario i had imagined i didn't thought they would not include a decent way to code with galaxy instead of GUI, at very least i thought they would add a header like TFT.
It's so sad ...
 

Jesus4Lyf

Good Idea™
If you could make a Galaxy --> SC2Lib parser I would love it. I need that for Moonlite, so go ahead and do it please.
:thup:
I think we need to talk. I hope to add lang features with this like JassHelper, and also make it then compile to GUI. If you want to write a good editor for the lang I come up with, I think we've got a match made in heaven. :thup:

So far, I've dropped the ; from the very end of a struct declaration. Because it was:
JASS:
struct hi{
    int x;
    int y;
}; // <-- ??

Calling the "new" language Voidscript.

Edit: Proof of concept complete, I have the first BlackHole generated SC2Lib file working in SC2 editor. Once I complete the very basic functionality, I'll upload an Alpha version. :D
 

Vestras

Retired
OMG :thdown:
Even in the worst scenario i had imagined i didn't thought they would not include a decent way to code with galaxy instead of GUI, at very least i thought they would add a header like TFT.
It's so sad ...
There's still hope. As long as maps have a MapScript.galaxy anyone can write Galaxy, more or less. Might be the GE doesn't support it, but there will be third party programs for it then.

I think we need to talk. I hope to add lang features with this like JassHelper, and also make it then compile to GUI. If you want to write a good editor for the lang I come up with, I think we've got a match made in heaven. :thup:

So far, I've dropped the ; from the very end of a struct declaration. Because it was:
JASS:
struct hi{
    int x;
    int y;
}; // <-- ??

Calling the "new" language Voidscript.

Edit: Proof of concept complete, I have the first BlackHole generated SC2Lib file working in SC2 editor. Once I complete the very basic functionality, I'll upload an Alpha version. :D
Well, Moonlite accepts more than one preprocessor, so basically it's already compatible. But most preprocessors needs custom codes unless they're built directly for Moonlite (which is basically like JassHelper runs), so I think I would need to integrate BlackHole with Moonlite. If you give me your MSN we can discuss it further :)
So what's the difference between Voidscript and Galaxy?

Released Version 1.0.0 BETA with source. :thup:

Needs a lot of work, but lets people start giving feedback. See first post of thread for details on how it works/what it does. :)
Imma check out the code and see how it runs.
Keep up the good work :thup:
 

Jesus4Lyf

Good Idea™
If you give me your MSN we can discuss it further :)
Hm. I don't really have MSN.. I use Google Talk. :(

Let me know what's required to integrate and I could be able to help you out.

But yeah, definitely taking comments/requests at this point for BH. Let me know your feedback! :D

So what's the difference between Voidscript and Galaxy?
Very little:
- Everything must be inside a library.
- Public keyword added to make things usable in GUI (and will have LIBNAME_ prefix later, when I implement prefixing).
- Structs no longer need that ';' at the end of their declaration.
 

Vestras

Retired
Hm. I don't really have MSN.. I use Google Talk. :(

Let me know what's required to integrate and I could be able to help you out.
Well, I'll download (?) Google Talk then. :p EDIT: There, downloaded Google Talk. mcrelsker(at)gmail(dot)com
Moonlite is in C#, so I don't think you can help really. (Unless you know C#?) The integration process is also not very hard, depending on how you want it to be integrated of course.

Very little:
- Everything must be inside a library.
- Public keyword added to make things usable in GUI (and will have LIBNAME_ prefix later, when I implement prefixing).
- Structs no longer need that ';' at the end of their declaration.
So BlackHole is actually also a Language instead of just a Galaxy -> SC2Lib converter?
EDIT: Also, please - not libraries. I've had enough of them. Classes, yes :) (And for public -> className.methodName();)
 

overload119

New Member
From what I understand this is just another language.

I can't help but feel like most people are going to be more lenient towards Andromeda.

The code -> Sc2 LIB is really helpful though.
 

Weep

Godspeed to the sound of the pounding
There seem to be a million and a half "vGalaxyScript" and IDE projects, and I can't follow all of them to hound for Mac compatibility. :(

At least this one is in Java. :thup: :thup:
 

Vestras

Retired
There seem to be a million and a half "vGalaxyScript" and IDE projects, and I can't follow all of them to hound for Mac compatibility. :(

At least this one is in Java. :thup: :thup:
There's 1 IDE and 2 languages, take it easy. :p
 

Jesus4Lyf

Good Idea™
From what I understand this is just another language.

I can't help but feel like most people are going to be more lenient towards Andromeda.

The code -> Sc2 LIB is really helpful though.
Yeah. But this language is designed to integrate with GUI. Andromeda, from what I understand, has no integration with SC2. Anyway, I don't see why:
a. I can't put everything Andromeda has into Voidscript and
b. Why you can do Andromeda --> BlackHole --> GUI.
:thup:
 

overload119

New Member
What do you mean by integrated?

Converting to SC2Lib and having to import is hardly "integrated".

Are you saying your thing is going to end up being like TESH?

I'm just waiting on Vestras tool, which is being done in conjunction with Andromeda, so that it almost completely replaces the GE and so in effect it is 'integrated' with SC2. Honestly, the Trigger Editor is so laggy in GE.

a. I can't put everything Andromeda has into Voidscript and
b. Why you can do Andromeda --> BlackHole --> GUI.
Why would you want to do something that has already been done?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    It is online though at night
  • The Helper The Helper:
    You would probably have to take a loan to get the Rice cert it is like 14l
  • The Helper The Helper:
    I was hoping you were going to say you wanted to be a cook and wished to open up a Food Truck there are so many opportunities for that here
  • The Helper The Helper:
    you can only open the bar if you sell food and a food truck in the parking lot counts
  • The Helper The Helper:
    here in houston
  • The Helper The Helper:
    most bars are struggling to build food prep and even some I know are doing there own food trucks
  • The Helper The Helper:
    but yeah man you should come to Houston there is so much more opportunity here than San Antonio. Just look at all the homeless people on the Riverwalk and downtown there you cannot even walk down the street without getting mobbed them
  • The Helper The Helper:
    check out this place apparently it is the best roommate site out there roommates.com lol
  • Varine Varine:
    The homeless people reminded me of New York
  • Varine Varine:
    I'll check it out, my lease expires in like a few months so I need to figure something out.
  • Varine Varine:
    I tried to open a food truck in Sandpoint a few years ago but the city said no, then like two years later they passed new laws to encourage it and gave them all fucking tax breaks and shit. And at that point I didn't have enough money to go buy one so I was way too late to the game once other cities realized they could just bring their existing truck there, or sell their brick and mortar.
  • Varine Varine:
    I do like food trucks though, they're way more fun than restaurants and usually I also get some of that tip money there.
  • Varine Varine:
    Restaurants are really hard if you don't have a back up source of income to fund them sometimes, in my experience most owners either got really really lucky, had existing money that allowed them to buy an already successful one, or they have family money to fall back on for loans. It's few and far between to see very inspiring success stories where the person actually got it through hard work and perseverance. I thought about opening one lots and I always just end up not thinking it'll work. I would much rather just find someone that has that money and go work for them
  • The Helper The Helper:
    i am not talking about opening a brick and mortar I am talking about food trucks though I have seen some brick and mortar mexican places open up during covid that are doing good because there food is awesome!
  • The Helper The Helper:
    Food trucks are killing out here because Bars cannot open unless they sell food and the governor ok'd the use of a food truck in front as serving food
  • The Helper The Helper:
    Just not enough food trucks
  • The Helper The Helper:
    a buddy of mine just opened up a food truck and he is killing it but he is a great cook and has awesome food right in the middle of the pandemic too food trucks are immune to pandemic because they are take out in Texas you will always be able to get take out or delivery
  • The Helper The Helper:
    He is in the different food facebook groups in houston and posts videos of him making his food
  • The Helper The Helper:
    he is killing it
  • jonas jonas:
    @Varine with the restaurants, there surely is a lot of luck and hard work but most restaurants fail because they suck. Flair isn't right, economics not well thought through, food is mediocre or sucks, location is bad, etc. If you're thinking about opening one, make sure you're looking at the stories of those that would be playing at your level, don't let your hopes be dragged down by all the subpar restaurants out there.
  • jonas jonas:
    I'm a bit worried about the future of data science, there's an influx of incompetent people hired by incompetent managers, that can't last. But I'm sure smart data scientists will always be useful and hireable. Same as smart security people.
  • jonas jonas:
    My sister in law worked in a vegan food truck, the owners were also making a killing, added several trucks and opened two restaurants over 5 years
  • Ghan Ghan:
    The CompTIA stuff is pretty much crap unfortunately. The places that ask for those low-level certs aren't likely places you want to work. For IT you really want a degree, but in the meantime you need to figure out some way to learn the skills. Cybersecurity is really hot right now so competition is fierce.
  • tom_mai78101 tom_mai78101:
    I realized I don't have anything much to say, other than "Good luck!". Compared to other places, I'm just very lucky we didn't have a lot of surges of cases coming in.

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top