vlasovskikh / funcparserlib

Recursive descent parsing library for Python based on functional combinators
https://funcparserlib.pirx.ru
MIT License
345 stars 38 forks source link

RPython compatible #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure how difficult this would be
but it would be nice to be able to use 
funcparserlib along with RPython.

Original issue reported on code.google.com by prolo...@shortcircuit.net.au on 25 Jul 2013 at 12:25

GoogleCodeExporter commented 9 years ago
Sorry this should have been filed as an Enhancement.

Original comment by prolo...@shortcircuit.net.au on 1 Aug 2013 at 1:48

GoogleCodeExporter commented 9 years ago
Why are you interested in having funcparserlib for RPython?

I'm not familiar enough with RPython, I can only help somebody porting it.

Original comment by andrey.vlasovskikh on 1 Aug 2013 at 8:00

GoogleCodeExporter commented 9 years ago
Because of the possibility of using funcparserlib
as the grimmer parser in a language using RPython.

Original comment by prolo...@shortcircuit.net.au on 1 Aug 2013 at 10:03

GoogleCodeExporter commented 9 years ago
FYI. I will be soon attempting to port mio-lang (1) to RPython which currently 
utilizes your funcparserlib library for lexing and parsing. I will report back 
on any success or failure in this process.

1. http://mio-lang.org/

Original comment by prolo...@shortcircuit.net.au on 13 Nov 2013 at 2:26

GoogleCodeExporter commented 9 years ago
Cool, I'm interested in your results.

Original comment by andrey.vlasovskikh on 14 Nov 2013 at 2:08

GoogleCodeExporter commented 9 years ago
First results don't look all that good :/

http://codepad.org/qBuJvYsv

Original comment by prolo...@shortcircuit.net.au on 14 Nov 2013 at 2:19

vlasovskikh commented 9 years ago

No progress has been made for this issue.

prologic commented 8 years ago

Actually FYI I made some effort on porting funcparserlib to RPython and I believe I was successful in translating a parser written using funcparserlib. I'll have to dig up the code; but if I recall it only needed some regex imports swapped out.