mhulden / foma

Automatically exported from code.google.com/p/foma
117 stars 90 forks source link

`test universal-upper` doesn't work #74

Closed cscott closed 6 years ago

cscott commented 6 years ago
Foma, version 0.9.18alpha
Copyright © 2008-2014 Mans Hulden
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; for details, type "help license"

Type "help" to list all commands available.
Type "help <topic>" or help "<operator>" for further help.

foma[0]: regex A->a;
374 bytes. 1 state, 3 arcs, Cyclic.
foma[1]: test upper-universal 
Unknown command. Ignoring until end of line.
foma[1]: test lower-universal 
0 (1 = TRUE, 0 = FALSE)
foma[1]: regex [A->a].i;
374 bytes. 1 state, 3 arcs, Cyclic.
foma[2]: test lower-universal 
1 (1 = TRUE, 0 = FALSE)
foma[2]: test upper-universal 
Unknown command. Ignoring until end of line.
foma[2]: 

Seems to just be a command-parsing issue?

mhulden commented 6 years ago

Try "tuu".

cscott commented 6 years ago

Yes, tuu works. (Thanks!) So it's just a command parsing issue, no problem with the underlying implementation. (help doesn't show the tuu abbreviation)

mhulden commented 6 years ago

The original parsing issue should also be fixed now.

cscott commented 6 years ago

Thanks! (Unfortunately, I can't use the latest git for my work @ Wikimedia because of #73.)