This is *stand-along draft of flex-bison (lex-yacc) light C parser for SA*.
*.y* file is Bison grammar file it provides* syntax analyzer* *.l* file is (F)lex instructions it provides* lexer* *sadefs.h* is some staff :-) *build.sh* - is bash script that will build parser binary file To build parser you need: 1. bison & flex To install them in Ubuntu: > sudo apt-get install bison > sudo apt-get install flex 2. run build.sh in the directory with parser sources > ./build Now you can run > ./parser parser will expect *input from STDIN* (keyboard by default) before it will meet *^D* (Ctrl + D, "EOF"). This draft will inform you about the process of parsing & will find Calls & Functions defintions\implementations. -- Best Regards, Fedor Korshunov --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SA_team" group. To post to this group, send email to sa_team@googlegroups.com To unsubscribe from this group, send email to sa_team+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.ru/group/sa_team?hl=en -~----------~----~----~----~------~----~------~--~---
sa_flex-bison_c_parser.tar.bz2
Description: BZip2 compressed data