Code and Bugs

Coding things

Tag: HaCoTeB

Well, I’m back

Nearly an year has passed since I last wrote on this blog with a specific plan in mind. There were several articles in the meantime but very few and written because of a moment’s hunch.

I’m back now, even if for a short period of time.

This article is divided into two parts (I’ll try to make them be under 500 words each):

Each of the two parts has a separate page.

Pages: 1 2 3

Parsing text in Haskell with Alex

Recently I remembered that I’ve started HaCoTeB as a project in which to test text lexing and parsing with Alex and Happy. Things didn’t work so well and HaCoTeB died without a single Alex specification file written.

However, during this little free time I had this week, I tried again to parse a simple text file with Alex.

Read the rest of this entry »

HaCoTeB is dead

A while ago I started a project which promised to make posting code snippets on blogs easy as pie. However, things didn’t worked well in the end.

Read the rest of this entry »

Programmer’s context switch

Say you are working on one project when someone calls you or sends you a mail asking you to look into another project, either a bug in one of your old projects or problem in his. Although programmers don’t like interruptions, this is a case where you have to do that context switch and return to your project afterwards. So, how to do this efficiently?

Read the rest of this entry »

Enter HaCoTeB

I am dissatisfied with the code posting capabilities. All of the possible solutions (using the included <code> tag or the included [ code ] plug-in or posting the entire html generated from the code via vim’s TOhtml or via highlight) were incomplete.

Read the rest of this entry »


Get every new post delivered to your Inbox.