This Go project is organized as follows:
-
bin/: used for storing binary executables
-
cmd/: store the entry points for your application
- myapp/:
main.go
- myapp/:
-
internal/:is a directory where you can place packages that are specific to your project and not intended to be used by external projects.
- Scanner/:
token.go
scanner.go
- Parser/:
parser.go
node.go
- Scanner/:
-
pkg/: is for packages that can be used by other projects.
- utils/:
retrieval.go
store.go
- utils/:
-
tests/: Contains test files
-
frontend/: Contains code for the main application window
-
go.mod: The Go module file for dependency management.
To run the application, follow these steps:
-
Clone the repository:
git clone https://github.com/Ahmed-Khaled24/Compilers-Project.git
-
Navigate to the application folder:
cd Compilers-Project/cmd/myapp
-
Run the application:
go run main.go