Page 1 of 2

Number of HVM /SuperHVM Challenges

Posted: Thu Mar 21, 2013 1:30 pm
by avrrobot
Hello,

I thought about writing a better IDE for HackVM for myself,
as I already progged a very simple one.
How many HackVM and SuperhackVM Challenges are there,
and is it worth writing a good IDE with some features, that the
one mentioned here in the forum does not have?

avrrobot

Re: Number of HVM /SuperHVM Challenges

Posted: Sat Mar 23, 2013 8:23 am
by AMindForeverVoyaging
avrrobot wrote: How many HackVM and SuperhackVM Challenges are there
I cannot give you an exact number, only adum or someone who has opened up every challenge that exists could. However, from the challenges which are accessible to me, here are the numbers that I am able to give you:

HackVM Challenges
Hello World
I Will Be Execute
strlen
King Rat
Mod
Fast Mod
Exclusive Or
Calculator
Deluge
King Mouse
Labyrinth
Haven't We Met Before?
Deja Vu
Broken Key
Broken Keys
Brokener Keys
Brokenest Keys
It's a Small World

Total count so far: 18
I'm certain there exist more, I would guess the real number is somewhere between 20 and 30.

SuperhackVM Challenges
String Reversal
Super Quine
Super Brainfuck
Super Sentence Reversal
Jeux du Sort
Fast String Reversal
Super Small Hello World

Total count so far: 7
There could be more than that, of course.

Posted: Sat Mar 23, 2013 8:49 am
by avrrobot
Thank you, I already have access to all of them except from Brokenest Keys and It's a Small World.
I think then it is not worth writing a good IDE, because it would probably take too much time in comparison to the time I would save during the challenges.

Posted: Sat Mar 23, 2013 9:33 am
by aurora
on the other hand ... it could be a possibility to practice the language and maybe make it more popular as "esoteric programming language" ;-). what other features do you have in mind, that the hvm ide already available does not offer?

Posted: Sun Mar 24, 2013 12:51 am
by portal
Just for completeness, here are a few more challenges:

HackVM:
Flash Flood Warmup
Quine
Mus Minutoides
Really Small Mouse
Maybe Smallest Mouse
It's a Very Small World
Flash Flood
Maybe Smallestest Mouse
It's A Very Small Word!
It's a Very Very Small World
Tsunami
Quinine
Surely Smallest Mouse
Surely Smallester Mouse
Fast Tsunami
Aazhi Peralai
Total count so far: 34

SuperhackVM:
Super Fast Brainfuck
Super Small Quine
Tiny Sentence Reversal
Tiny Sort
Small Brainfuck
Jeux du Sort Vite
Total count so far: 13

http://xkcd.com/974/
It will hardly save you time. Do it if you want to. Just my 2 cents.

Posted: Sun Mar 24, 2013 8:47 am
by AMindForeverVoyaging
portal wrote: Total count so far: 34
That many? Huh.

Posted: Sun Mar 24, 2013 11:06 am
by avrrobot
Interesting, I never thought there were this many hvm challenges (and this lot of Mouse challenges). But you are right, it will not save me time.
To be complete, here my answer to aurora:
1. function definition
2. automatic number conversion like 13 -> 94+ or 99 -> 92+9*
3. automatic jump positions arangement (hard to explain but would be useful)
and some smaller stuff.

Posted: Sun Mar 24, 2013 11:11 am
by AMindForeverVoyaging
But if one person does this and lets others use his IDE, then altogether a lot of time is saved, plus the person who writes the tool gets good Karma. ;)

Posted: Sun Mar 24, 2013 11:20 am
by avrrobot
Shure.
Btw.: Is it possible to do a 1 line for() loop in Superhvm?

Posted: Sun Mar 24, 2013 12:05 pm
by sergejs
IIRC adum was against sharing self-made tools for HVM/SuperHack (there was a forum post on this topic somewhere). Besides, lots of HVM challenges ask for a very small instruction count. This usually means that you need to get creative and having general-purpose function definitions, automatic jump position arrangement and similar stuff might not work in such cases.

Posted: Sun Mar 24, 2013 12:21 pm
by AMindForeverVoyaging
sergejs wrote:IIRC adum was against sharing self-made tools for HVM/SuperHack
No, it was only "other language to HVM" compilers/assemblers that shall not be shared. IDEs are allowed, and there exists at least one for HVM and one for SuperHVM.

adum's post can be found in this thread.

Posted: Mon Mar 25, 2013 6:55 pm
by avrrobot
Do you know, where I can find the SuperhVM IDE?

Posted: Sat Apr 06, 2013 4:25 pm
by AMindForeverVoyaging
avrrobot wrote:Do you know, where I can find the SuperhVM IDE?
Yeah, on my hard disk. ;)

I will re-upload it somewhere if I can find a good and reliable free host which does not delete files due to inactivity. See also this thread.

Posted: Sun Apr 07, 2013 10:49 am
by CodeX
avrrobot wrote:Shure.
Btw.: Is it possible to do a 1 line for() loop in Superhvm?
It can be done as SuperHack allows self modifying code, it would be possible to achieve any functionality with a single line of initial code if it weren't for the 1024x128 code limit.

As for the SuperHack IDE, you could upload it to some places like SourceForge, Google code or Google AppEngine - I'm not sure how it would fare with their terms and conditions but it could lead to indefinite hosting.

Posted: Thu Apr 11, 2013 1:10 pm
by CodeX
Just in case anyone was looking for the PHP source of the SuperHack virtual machine which is no longer available at www.hacker.org/sh/shphp.phps, here's a copy of it: http://pastebin.com/euzkBvsr