Michael FIG | 15 Apr 07:32

jolt2: minor fixes and beginnings of function/examples

Hi,

I've been spending some quality time with jolt2, and here are some
basic patches I needed to get things working.

$ cd function/jolt2
$ make # builds jolt2
$ make test # runs sanaras.k
$ make test-old # runs function/examples with jolt2
$ cd ../examples2/bunnu
$ make test

test-old just helps show where jolt2 is missing a few features.  So
far only select, slotnames (of course), x-drawing, and x-event work
correctly.

I only found two little problems with ColaParser:

* Hexadecimal and binary literals weren't being parsed correctly (the
'0' in '0x' would always get sucked up by the decimal parser, and '0b'
wasn't yet implemented).

* Character literals ($c, $\n, etc) weren't implemented.

The rest of this patch is a baby step towards fixing
function/examples.  I'll update it as I get more working (if I have to
break any of the tests' compatibility with jolt-burg, I will first
copy them into examples2).

Have fun,
(Continue reading)


Gmane