Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
migrate from ocamllex to ulex
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-04-18 (07:37)
From: Ruslan Kosolapov <rkosolapov@s...>
Subject: migrate from ocamllex to ulex

I want to use Polygen (, but this tool is not
work with UTF-8 (if I try to use UTF-8 symbols in template, error
"illegal character" appear).

As far as I understand problem is ocamllex - if I use UTF-8 symbols in
lexer.mll, ocamllex say to me "illegal character", so, I can't just
modify lexer.mll.

So, I think I should modify Polygen to ulex using.

I have no any OCaml expirience, so such task is hard for me.

I look for code examples or any detailed documentation which show me
how I can migrate from ocamllex to ulex.

Please help :)

PS: I tryed to modify file (such file produced by ocamllex),
but I don't know what exactly I should modify - is not

Ruslan Kosolapov
Plesk QA Department Second Manager
SWsoft, Inc.