New syntax highlighter

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: New syntax highlighter

by Bainespal » Sun Jul 11, 2010 7:33 pm

Thank you! It feels good to have gotten a project out there, finally. :)
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.
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.

by Roody_Yogurt » Sat Jul 10, 2010 8:18 pm

Welcome, Paul! Always good to have another person. Be sure to keep us updated with your endeavors.

I 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.

by Ice Cream Jonsey » Sat Jul 10, 2010 7:30 pm

Glad to hear of it - congratulations!

New syntax highlighter

by Bainespal » Fri Jul 09, 2010 9:23 am

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

Top