Archive for the ‘Pico Lisp’ Category

My BarCamp Phuket presentation – Prolog as a dating aid

Tuesday, December 2nd, 2008

This Saturday I had a small presentation. It wasn’t really well prepared so I’ll try and make up for it here instead.... Read More

Pilog solve and the +Aux relation

Thursday, October 9th, 2008

I just set out to duplicate the Doctrine for dummies example, but this time for real, with a real OODB system, not some silly ORM :) Thanks goes to Alex for helping me out with the queries.... Read More

jQuery and Pico Lisp

Monday, October 6th, 2008

The heart of the problem with making jQuery.post work with the PicoLisp server is simple once found (thanks to Alex for helping me find it). Apache seems to use the Content-Length header to determine the length of the argument sent by XMLHttpRequest.send(), the Pico server doesn’t bother with determining the the length. It looks for a newline at the end instead.... Read More

Calling Ruby scripts from Pico Lisp

Saturday, October 4th, 2008

I give up. There you have it, the confession. Too much basic stuff is lacking from Pico, as you might know we’ve covered both a way of matching a la PHP’s preg_match and JSON. I’ve realized however that I’m never gonna be finished creating a proper application doing it in 100% Pico.... Read More

Pico Lisp and JSON

Thursday, September 11th, 2008

Update: I now use this code for JSON which is based on Alex’s Rosetta Code example, the below should just be seen as a programming exercise.... Read More

Explicit scope resolution in Pico Lisp

Wednesday, August 13th, 2008

Today I felt like extending the html function that is responsible for rendering the bare bones of a HTML document in the GUI framework.... Read More

Registration form in Pico Lisp

Saturday, August 2nd, 2008

Finally, the registration form! Not really for beginners but anyway…... Read More

Templating in Pico Lisp

Thursday, July 17th, 2008

As you might know already Pico has a GUI system similar to for instance Haml. That’s all very well and fine, the problem is that as opposed to Haml a typical Pico GUI script contains a lot of logic as well, I shudder to think having designers poking around in there to output the HTML just like they want it. And we are not quite yet at the point where we are doing completely CSS controlled designs, it’s a goal though.... Read More

Regular expressions in Pico Lisp

Tuesday, July 1st, 2008

This is another step towards explaining how a registration form in Pico Lisp can work, I promise you we will get there but there is a lot of ground to cover still.... Read More

Advanced OODB in PicoLisp

Monday, April 28th, 2008

In this tutorial I will assume you’ve already glanced at the documents I linked to in the prior article. I hope you still have cms.db intact.... Read More