Parse the antlr goLang grammar and make CGF(control flow graph) -- 2
Budget: ₹1,500 – ₹12,500 INR
- We will work with the following subset of golang:
- Package info
- Imports
- Functions declarations and calls
- Unary operator
- Mathematical operators
- variable declaration
- Types are int, long, short, float, double and string, no compound data structures
- Variable assignment
- if - else and nested if -else statement
- `for` loop and nested 'for'loops statements
- `Break` statement
My program should do the following:
- check the input for syntax error
- check the input for semantic errors:
- type checking
- in assignment statements
- in `if` and `for` conditions
- variable scopes
- Produce a control flow graph
here is the reference of the similar projects:
https://figshare.com/articles/software/CFG_generator_Java_-_chapter_6_of_the_book_Software_Testing_Automation_by_Saeed_Parsa_/21285915?file=38031039
- Package info
- Imports
- Functions declarations and calls
- Unary operator
- Mathematical operators
- variable declaration
- Types are int, long, short, float, double and string, no compound data structures
- Variable assignment
- if - else and nested if -else statement
- `for` loop and nested 'for'loops statements
- `Break` statement
My program should do the following:
- check the input for syntax error
- check the input for semantic errors:
- type checking
- in assignment statements
- in `if` and `for` conditions
- variable scopes
- Produce a control flow graph
here is the reference of the similar projects:
https://figshare.com/articles/software/CFG_generator_Java_-_chapter_6_of_the_book_Software_Testing_Automation_by_Saeed_Parsa_/21285915?file=38031039