On 2/13/20 11:37 AM, Malte Frank Gerdes wrote:
Hey guile-user,
i'm currently trying to use the peg module to parse android bp files. I
have never used pegs before so i might have done an obvious mistake.
I got farther. For an input string of
(define global1
"cc_library {
name: \"libc
On 2/13/20 11:37 AM, Malte Frank Gerdes wrote:
Hey guile-user,
i'm currently trying to use the peg module to parse android bp files. I
have never used pegs before so i might have done an obvious mistake.
Maybe start with something simple. I hacked this today. First PEG
program.
Though I
Hey guile-user,
i'm currently trying to use the peg module to parse android bp files. I
have never used pegs before so i might have done an obvious mistake.
The current grammar looks like this:
(define-peg-string-patterns
"blueprint <-- ws* (modules* variables*)* .*
modules<-- (ws* modu