24 Dec 2004 neoneye   » (Master)

Today its Xmas with snow outside. Bought lots of presents to the family. I have already gotten the nicest present myself [ruby-talk:124287], its a solution on how to do Unicode with xterm. I need this for version 2.x of AEditor. This present alone is more worth than most other presents. I have learned valuable stuff about [Ruby DL], which is truely an amazing piece of code.

Lexing of embedded documents has gotten my attention lately. For instance in HTML you can embed JavaScript and CSS. In Ruby you also can embed other documents. I wish to make a lexer that can colorize these embedded documents in a nice way, and maybe even provide extra shortcuts for programming in that embedded language. How do I figure out what kind of document that is being embedded? For Ruby it could depend on the name used for the heredoc.

doc = <<XHTML11
im xhtml 1.1
XHTML11
So that could be colored as XHTML. Maybe it will be too disturbing to color it with the same colors as the primary document. Some dimmed colors would probably feel better.

Recently I have put some effort into making a riffoff of [Werkkzeug], which is a RAD tool for composing demoes. This concept can be used for many other things than demoes. I want to use it for configurating [ROS]. I have been doing a mix of javascript and Ruby in order to get something usable. The empty frontend can be tried out [here]. For the backend I use WEBrick, where XMLHttpRequest's is being used for communication between backend and frontend. This project can sometimes make me really excited.

I somehow discovered that whytheluckystiff had mentioned me very positivly in [his blog]. Thanks and happy xmas.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!