Micropythons parsing stratergy?

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Steve
Posts: 2
Joined: Tue Apr 15, 2014 9:07 am

Micropythons parsing stratergy?

Post by Steve » Thu May 29, 2014 11:15 am

Hi,

I'm trying to understand parser code mp_parse() and I'm looking for some
background information:

1. What type of parsing strategy does it implement, eg top-down, bottom up, LR, LL etc?

2. Can anyone recommend a book or link that describes the paring strategy used?

3. Does this code have a precursor, is it based on a previous python implementation that I can look at?

Thanks in advance, Steve

Jim Battle
Posts: 6
Joined: Thu May 29, 2014 3:19 am

Re: Micropythons parsing stratergy?

Post by Jim Battle » Mon Jun 02, 2014 7:56 am

Kickstarter update #8 had some info on this

https://www.kickstarter.com/projects/21 ... sts/669549

Skip the first few paragraphs, which talk about stretch goals, and then you find the technical content.

Post Reply