Hello all,
I am a student of computer science, and I am currently writing an
implementation of CRobots with Yacc and Lex.
Currently, the program works like this :
- Tokens are defined in the .lex file
- The grammar is defined in the .yacc file
- The main function is defined in a .c file, which
Hi N07070,
> Le 20 mars 2020 à 16:49, N07070 a écrit :
>
> What I would like, is to be able to call the yyparse function, give it a
> string,
yyparse doesn't care about where the text is coming from, that's
the job of the scanner. That part is something you'll have to
find in your scanner gene