-building, and I’ve been looking into ANTLR as well.
>>> Three questions: Are you interested in collaborating on the parser (can
>>> you create a GitHub project for it)? Why ANTLRv3 instead of v4? Do you
>>> have a way to get an ANTLR parse tree into R?
>>>
>&
GitHub project for it)? Why ANTLRv3 instead of v4? Do you
>> have a way to get an ANTLR parse tree into R?
>>
>>
>>
>> Thanks
>>
>>
>>
>> Bill
>>
>>
>>
>> *From:* owner-nmus...@globomaxnm.com *On
>> Behalf Of *Ruben
Of *Ruben Faelens
>
> *Sent:* Thursday, June 14, 2018 8:55 AM
> *To:* Tim Bergsma
> *Cc:* nmusers@globomaxnm.com
> *Subject:* Re: [NMusers] Context-free lexer for NM-TRAN
>
>
>
> Hi Tim,
>
>
>
> Thanks for pointing to that.
>
> Unfortunately, nonmemica uses regular
Hi Ruben,
I wrote an empirical translator to convert NM-TRAN to the DDMoRe MDL.
http://nmtran-to-mdl.mango-solutions.com/
It was written in awk. As far a I know there were no formal parser/lexers used
with NM-TRAN as part of DDMoRe.
Best wishes,
Nick
I assume building a parser for NM-TRAN was alr
:55 AM
*To:* Tim Bergsma
*Cc:* nmusers@globomaxnm.com
*Subject:* Re: [NMusers] Context-free lexer for NM-TRAN
Hi Tim,
Thanks for pointing to that.
Unfortunately, nonmemica uses regular expressions to simply split the
character stream into subsections.
This is not the way to go. As an example
Hi Tim,
Thanks for pointing to that.
Unfortunately, nonmemica uses regular expressions to simply split the
character stream into subsections.
This is not the way to go. As an example, nonmemica would get confused by
the following input:
$PROBLEM This is a problem with special $PK section
$PK
Hi Ruben.
Related: the CRAN package “nonmemica” has a function as.model() that parses
NONMEM control streams. Type “?nonmemica” at the R prompt after loading. See
also https://github.com/MikeKSmith/rspeaksnonmem . Happy to discuss further.
Kind regards,
Tim
Tim Bergsma, PhD
Associate Direct