First, I'll introduce myself. My name is Paul Lee. I'm 19, and I've been in to IF since I was about 11. I occasionally post on the Interactive Fiction Community Forum at intfiction.org. I taught myself Inform 6 as a young teen. I've also looked at the documentation and tutorials for most of the mainline IF languages, and I've recently been studying Hugo. When I was 14, I released a buggy little game into the 2005 IF Competition ("Dreary Lands"). I might end up working on a more serious IF project soon, very likely with Hugo. I was helped with a simple Hugo question on the IF Community Forum by someone here -- Ice Cream Jonsey (Robb Sherwin?), back in December. I'm generally pretty lazy and indecisive. ;-) I'm a Christian; I mention this because what I believe essentially directs my goals and defines my life.
Enough about me. Today I finished tweaking a highlighter template for the ConTEXT text editor that will provide syntax coloring for Hugo. I hope to get the file hosted at either the IF Archive or the Context Website, but for now it can be downloaded from a free file hosting site that I use.
Here's a link to the ConTEXT website. ConTEXT is a great, free programmer's text editor for Windows.
EDIT: The highlighter file is now available from the Highlighters page on the ConTEXT website: http://cdn.contextstatic.org/downloads/ ... s/Hugo.chl
2ND EDIT: Now available from the IF Archive:
http://www.ifarchive.org/if-archive/pro ... s/Hugo.chl
New syntax highlighter
Moderators: Ice Cream Jonsey, joltcountry
-
- Posts: 151
- Joined: Fri Jul 09, 2010 8:59 am
New syntax highlighter
Last edited by Bainespal on Thu Jul 22, 2010 10:50 am, edited 1 time in total.
- Ice Cream Jonsey
- Posts: 30184
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
-
- Posts: 151
- Joined: Fri Jul 09, 2010 8:59 am
Thank you! It feels good to have gotten a project out there, finally. :)
You're right about that. If there's a way to make ConTEXT recognize multi-line comments, it's not obvious to me. I haven't used ConTEXT enough with other programming languages to be sure, nor have I had more than a glance at its forum.Roody_Yogurt wrote: took a look at ConTEXT and your highlighter file. It looks nice, but ConTEXT seems to choke on distinguishing ! from !\ . Hopefully they will provide some way of getting around that at some point.