Hugo compiler wish list

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

Roody_Yogurt
Posts: 2175
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Hugo compiler wish list

Post by Roody_Yogurt »

So, over the weekend, I perused the intfiction.org forums for the first time in years, catching up on new and old news. I caught this thread, where a maintainer of the Babel tools was trying to detect the IFID from Hugo games that declare one. I think he got it working? I'm not entirely sure.

But it got me thinking about how it'd be nice if the Hugo compiler generated an UUID-style IFID string constant for the game if the source doesn't already declare one, and since people who read this board (and if not here, people we know) are basically the maintainers of the Hugo compiler now, maybe we should discuss this and any other possible compiler improvements we can think of. Of course, if any idea got that far, I'd still want to ask Kent for his blessing before we implement it, but I figured a post here would be a good place to start.

Does anybody have anything they'd want to see? (*)

Would the IFID idea be worth the trouble of getting someone to implement it?

* - Of course, I'm not looking for big feature updates to the compiler that would require updated interpreters- just things that would work with the existing file format.

User avatar
RealNC
Posts: 2244
Joined: Wed Mar 07, 2012 4:32 am

Re: Hugo compiler wish list

Post by RealNC »

How do you even add an IFID to a Hugo game?

User avatar
Ice Cream Jonsey
Posts: 28842
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugo compiler wish list

Post by Ice Cream Jonsey »

I think I just made one up?
the dark and gritty...Ice Cream Jonsey!

Roody_Yogurt
Posts: 2175
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Re: Hugo compiler wish list

Post by Roody_Yogurt »

In the past, I have used the IFID Generator site:
http://www.tads.org/ifidgen/ifidgen

And then I add it to the game source as an IFID string constant.

User avatar
Tdarcos
Posts: 9329
Joined: Fri May 16, 2008 9:25 am
Location: Arlington, Virginia
Contact:

Re: Hugo compiler wish list

Post by Tdarcos »

UUIDs - also called GUIDs - were all but {00000000-0000-0000-C000-000000000046}* at the time Hugo was created. They are only needed when the game is either finalized or ready for posting to the IFID. It's such a bespoke and irrelevant task to the game's development, that I think it's not important
enough to justify the time used to develop a generator. As noted, there is already an online generator, and Microsoft includes the guidgen program for C compilers. It's a lot of work for very little return. Upgrade work should be the things that are important for game developers and that they would use regularly, either when writing and playtesting or when released.

- - - -
* This is the UUID for "iUnknown".
Evil cannot create anything new
They can only corrupt and ruin
What good forces have invented or made.
- J.R.R. Tolkien

User avatar
RealNC
Posts: 2244
Joined: Wed Mar 07, 2012 4:32 am

Re: Hugo compiler wish list

Post by RealNC »

That's not the...

Never mind.

Post Reply