Re: [Ohrrpgce] Henceforth Fibonacci!

2009-02-04 Thread Ralph Versteegen
2009/2/4 S'orlok Reaves sorlok_rea...@yahoo.com:


 That is cool! I am glad to see this coming along so nicely.
 Three cheers
 for Seth! ... and 1,1,2,3,5,8... cheers for Fibonacci!

 Thanks! Also, I fixed that bug; now all the examples from the wiki work. 
 Error reporting's so-so, but I'm more than happy to help you guys debug HF 
 scripts through the list. Here's the download:

 http://ohrrpgce-fmf.googlecode.com/files/Desktop_HVM_0.1.jar

 Source forthcoming,
 --Seth
 PS: If you've got Java installed, then double-clicking the JAR file should 
 launch the Desktop HVM with no problems.

Nice! However, the JAR file doesn't work for me: Could not find the
main class. Program will exit

Looking at the source, I realise that I never noticed how elegant
certain things are in a stack based language.

Have you given any thought to how you might achieve support for
dynamic typing? I should have a look at your design again.
I'm confused as to what you meant by this note in Final Considerations:
Henceforth will never have objects ... or static typing
What if HS implements primitive objects? (It's in the plan!) Does
Henceforth have any typing at all at the moment?
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] Henceforth Fibonacci!

2009-02-04 Thread S'orlok Reaves



 Nice! However, the JAR file doesn't work for me:

Weird. Try from the command line/shell:
java -jar Desktop_HVM_0.1.jar

Failing that, there's a slim chance that your JVM just hates you, and isn't 
including the JAR itself in the classpath. Then try:
java -cp Desktop_HVM_0.1.jar hetus.hvm.MainPanel

I've tried this on XP, Vista, and Ubuntu. If you're running something 
different, let me know. Also, are you running sun-java, or something else?


 Looking at the source, I realise that I never noticed how
 elegant certain things are in a stack based language.

Thanks!


 Have you given any thought to how you might achieve support
 for dynamic typing? 

Sadly, I have not. My goal with HVM 1.0 was just to mimic Hamsterspeak. Any 
thoughts you might have are welcomed.


 Henceforth will never have objects ... What if HS implements 
 primitive objects? (It's in the plan!)

Whoops! I should have read the full plan first. Well, the JVM features an 
object-oriented bytecode. I'll probably just steal from that. Unfortunately, 
this defeats my goal of having Henceforth not require a compiler.



 or static typing... Does Henceforth have any typing at 
 all at the moment?

Nope, just integers. (Strings are hacked). I know you guys are planning 
floating point math, so I'll have to deal with it eventually.



 Henceforth will never have...

My goal is to keep Henceforth simple; it already has enough excess baggage from 
HSpeak. I guess when you guys add objects and floating point math, I'll have to 
re-evaluate the language. My current to-do list includes:
1) Advanced slices (done) and HVM 1.0
2) RELEASE
3) New features to GAME_FMF
4) Re-work slices to fit more with James's idea
5) RELEASE
6) HVM 2.0

In other words, I want to push for the next release so I can get feedback from 
you guys, and see if Henceforth really does allow games to run as fast as I'd 
hoped. If I have to toss all this work out the window for HVM 2.0, that's fine 
(part of development) --but I want to give it a fair chance first.


All the best,
--Seth






  
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] Henceforth Fibonacci!

2009-02-04 Thread S'orlok Reaves


 That is cool! I am glad to see this coming along so nicely.
 Three cheers 
 for Seth! ... and 1,1,2,3,5,8... cheers for Fibonacci!

Thanks! Also, I fixed that bug; now all the examples from the wiki work. Error 
reporting's so-so, but I'm more than happy to help you guys debug HF scripts 
through the list. Here's the download:

http://ohrrpgce-fmf.googlecode.com/files/Desktop_HVM_0.1.jar

Source forthcoming,
--Seth
PS: If you've got Java installed, then double-clicking the JAR file should 
launch the Desktop HVM with no problems.





  
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] Henceforth Fibonacci!

2009-02-03 Thread James Paige
On Tue, Feb 03, 2009 at 02:00:10AM -0800, S'orlok Reaves wrote:
 
 Hey all,
The latest screenie of the HVM in action is here:

 http://gilgamesh.hamsterrepublic.com/wiki/ohrrpgce/index.php/User:Sorlok_reaves
 
It can now run everything that a Pistachio HVM is required to handle. The 
 screenshot shows the Fibonacci sequence being calculated correctly for the 
 numbers 1-9 and 20. 
 
   There are a few bugs with if/else statements, but I'll fix them later. The 
 reason I'm posting this is that I'm just so thrilled that my design first 
 idea actually worked. I had to change about 8 minor things in the wiki while 
 I was programming this thing; the rest, I could just copy verbatim. 
 
 
 I'll release the Desktop HVM's source as soon as I fix the bugs and pretty it 
 up a bit. All the best,
 --Seth
 

That is cool! I am glad to see this coming along so nicely. Three cheers 
for Seth! ... and 1,1,2,3,5,8... cheers for Fibonacci!

---
James Paige
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


[Ohrrpgce] Henceforth Fibonacci!

2009-02-03 Thread S'orlok Reaves

Hey all,
   The latest screenie of the HVM in action is here:
   
http://gilgamesh.hamsterrepublic.com/wiki/ohrrpgce/index.php/User:Sorlok_reaves

   It can now run everything that a Pistachio HVM is required to handle. The 
screenshot shows the Fibonacci sequence being calculated correctly for the 
numbers 1-9 and 20. 

  There are a few bugs with if/else statements, but I'll fix them later. The 
reason I'm posting this is that I'm just so thrilled that my design first 
idea actually worked. I had to change about 8 minor things in the wiki while I 
was programming this thing; the rest, I could just copy verbatim. 


I'll release the Desktop HVM's source as soon as I fix the bugs and pretty it 
up a bit. All the best,
--Seth



  
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org