Skip to content

Repository files navigation

We have

| externs.h
| gencode.h
| reg_stack.h
| symbol.h
| tree.h

as declaring the interfaces for functions, classes, or other entities without providing their implementations. This allows us to use these entities without needing to know the implementation details.(Hiding the each function details).

To run the assignment use the following command :

| ./compiler input.txt

This is the demo file1 to change another input we can run :

| ./compiler input2.txt

References

Here are the references used:

Feel free to explore these references for more insights into semantic analysis and the Pascal programming language.

About

Lexer and Parser for Object Pascal

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages