jimregan / foma

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

Left repalce epenthesis rule don't work #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
regex  a <- [. .] ;

What is the expected output? What do you see instead?

I am getting this error:
1.11-1.11: error: ***syntax error at ';'.

What version of the product are you using? On what operating system?
Foma, version 0.9.16alpha, Ubuntu

Original issue reported on code.google.com by senka.dr...@gmail.com on 21 Dec 2012 at 1:49

GoogleCodeExporter commented 8 years ago
This behavior is not implemented. For non-parallel rules, you can use the 
equivalence:

[ [..] -> B || C _ D ].i = B <- [..] || C _ D ; 

and, of course, in the simpler case without contexts:

[ [..] -> B ].i = B <- [..]

Original comment by mans.hul...@gmail.com on 22 Dec 2012 at 6:51