Go programming highlighter for conTEXT editor

When on Windows I use the conTEXT editor for basic text editing and for small programming tasks (when loading a full IDE would be a tad excessive!). The conTEXT editor website lists syntax highlighters for all sorts of programming languages. However, when experimenting with the Go programming language today, I discovered there was no conTEXT highlighter for Go. So, I wrote my own.


Download conTEXT highlighter for Go programming language (.chl)

This is based upon the Go programming language specification as of the 2011-02-15 release.


To install the highlighter, drop the Go.chl file into the Highlighters directory. By default this is:

Tagged with: , , , , ,
Posted in Go
6 comments on “Go programming highlighter for conTEXT editor
  1. Michael Cox says:

    So, what’s the point in Go?

    Or to put it another way, why not just use C++ or Python, whichever is more appropriate?

  2. Michael Cox says:

    To answer my own comment –

    “… the point is that Go gives you concurrency, a concurrency specifically suited to modern systems programming. It gives you concurrency that runs close the metal, but it also gives you a new breed of concurrency you won’t find in other languages, including Erlang. And this comes from goroutines.

    Goroutines aren’t threads or lightweight threads. They aren’t callbacks. They’re processes within a single address space that can communicate with each other. Communication is provided by “channels” running between goroutines, and these channels can transmit multiple signals at once. You can use a channel to send any variable, including other channels.”

    Sounds quite Occam-Pi like.

    • Tom Castle says:

      Yes, that’s how I think about it too. It’s Occam-pi crossed with C++. The big advantage is that it is easy to do concurrency, but it has a lot of other nice touches which make it quite appealing, like multiple assignment:

      i, j = j, i // Swap i and j.

      I haven’t really had the opportunity to do much more than dabble with it, but I really like what I have seen so far.

    • This is a very interesting observation. I’m just now reading up on Go as I’m interested in developing applications for the Google App Engine and possibly their other platforms and was wondering why I should learn Go instead of just use Java.

      Your point about the multiple processes in a shared address space confused me for a second but now I see what you’re talking about. Being a C/C++ software engineer for over 15 years (most of which have been on the Windows platform) you make a compelling case to look further into this language.

      Thanks again for your post! I hope to hear more about your adventures in Go and useful insights! I’ll be checking back here in the future.

      Also, thanks for the tip on conTEXT. I’ve been using KomodoEdit a lot as of late, but I think I’ll switch to using conTEXT for some of the stuff that doesn’t require a more sophisticated editor or full blown IDE like Visual Studio.

  3. Rich says:

    To me Go gives you all the benefits of a compiled language (Plus the benefits listed above), with the simplicity of scripting language. http://golang.org

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">