Hi Li,

I like your test setup! I would like to help. However...

I don't exactly see what you're asking here. Can you phrase a question 
that I can try to answer?

kaspar

On 16.06.13 15:12, Li Dong wrote:
> Dear all,
>
> I am writing a tool for processing Fortran codes, and I need to parse
> the expression in Fortran like:
>
>      ((a+1)+(b-1))/((c*2)+d)
>
> I have written a "expression" rule using Parslet, which can parse the
> above example, but it also affects the parsing of other statement rules
> (like "if_condition").
>
> The parser that I am writing has been put on GitHub
> (https://gist.github.com/dongli/5791976). You can run the tests after
> cloning or downloading that gist by:
>
>      rspec --fail-fast rspec_fortran_parser.rb
>
> Any suggestion is appreciated!
>
> Best regards,
>
> Li
>
> -----------------------------------------
> Dr. Li Dong (董理)
> LASG, Institute of Atmospheric Physics
> Chinese Academy of Sciences
> P.O. Box 9804
> Beijing 100029, China
> Phone: 8610-8299 5143
>


Reply via email to