Package Details: ulex 1.1-1

Git Clone URL: https://aur.archlinux.org/ulex.git (read-only)
Package Base: ulex
Description: ulex is a lexer generator for Unicode and OCaml
Upstream URL: http://www.cduce.org/
Licenses: GPL
Conflicts: ulex
Provides: ulex
Submitter: tsani
Maintainer: tsani
Last Packager: tsani
Votes: 1
Popularity: 0.001632
First Submitted: 2016-02-16 05:28
Last Updated: 2016-02-16 05:31

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

catalin.hritcu commented on 2018-10-06 17:00

A better fix though would be to change this package to use the stable releases from https://github.com/whitequark/ulex. Here is an update to your package that tries to do that: https://github.com/catalin-hritcu/arch-ulex

catalin.hritcu commented on 2018-10-06 16:11

Discovered that the ulex-git aur package (https://aur.archlinux.org/packages/ulex-git) contains ulex v1.2 from https://github.com/whitequark/ulex, which works well with OCaml 4.07.0 (which is now the default on Arch). So I switched to that package. It would help prevent confusions if this package had an ocaml < 4.07.0 bound though.

catalin.hritcu commented on 2018-10-06 15:29

This package seems out of date (newer versions used by opam are available at https://github.com/whitequark/ulex). I'm having troubles building it with OCaml 4.07.0. I'm getting the following error message:

+ /usr/bin/ocamlopt.opt -c -o ulexing.cmx ulexing.ml
File "ulexing.ml", line 45, characters 10-22:
Warning 3: deprecated: Stdlib.Array.create
Use Array.make instead.
File "ulexing.ml", line 123, characters 19-31:
Warning 3: deprecated: Stdlib.Array.create
Use Array.make instead.
File "ulexing.ml", line 190, characters 10-23:
Warning 3: deprecated: Stdlib.String.create
Use Bytes.create instead.
File "ulexing.ml", line 191, characters 26-80:
Warning 3: deprecated: Stdlib.String.set
Use Bytes.set instead.
File "ulexing.ml", line 1:
Error: The implementation ulexing.ml
       does not match the interface ulexing.cmi:
       Values do not match:
         val latin1_lexeme : lexbuf -> bytes
       is not included in
         val latin1_lexeme : lexbuf -> string
       File "ulexing.mli", line 145, characters 0-35: Expected declaration
       File "ulexing.ml", line 194, characters 4-17: Actual declaration
Command exited with code 2.