Search:

Type: Posts; User: grygus

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,505

    I didn't have problem with parsing "for loop"...

    I didn't have problem with parsing "for loop" syntax but with semantic action on it
  2. Replies
    10
    Views
    1,505

    I managed to do this but I really dislike this...

    I managed to do this but I really dislike this solution;

    When i recognize for loop, I am making new grammar object and in c++ loop parse my for with this grammar. Somhow it is working correct.
    ...
  3. Replies
    10
    Views
    1,505

    Doumentation only shows in simple way how to use...

    Doumentation only shows in simple way how to use file iterators and position iterators, but i want to use this within grammar structure. I came across some problems with trying to do this.
  4. Replies
    10
    Views
    1,505

    I would like to know how to parse part of file...

    I would like to know how to parse part of file multiple times within grammar structure.

    I need this for example to interpret file like this;

    $i = 1;
    for 1 to 10
    i += 1;
    endfor
  5. Replies
    10
    Views
    1,505

    loop with spirit

    I want to write interpreter using spirit library but i have a little problem. I don't know how to write loop for example "for" with syntax "for 1 to 10 endfor". Can someone tell me how to use...
Results 1 to 5 of 5