Skip to content

Ahmed-Khaled24/Tiny-Language-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Structure

This Go project is organized as follows:

  • bin/: used for storing binary executables

  • cmd/: store the entry points for your application

    • myapp/:
      • main.go
  • 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
  • pkg/: is for packages that can be used by other projects.

    • utils/:
      • retrieval.go
      • store.go
  • tests/: Contains test files

  • frontend/: Contains code for the main application window

  • go.mod: The Go module file for dependency management.

Getting Started

To run the application, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Ahmed-Khaled24/Compilers-Project.git
    
  2. Navigate to the application folder:

    cd Compilers-Project/cmd/myapp
  3. Run the application:

    go run main.go

About

Scanner and Parser for the tiny language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages