This project is a Java-based application that integrates a Swing-based code editor with an integrated compiler. This project is designed to provide developers with a comprehensive tool for writing, editing, and compiling programs.
- Swing Code Editor: A graphical user interface for editing source code.
- Lexical Analysis: Tokenizes source code into meaningful tokens.
- Syntax Parsing: Parses source code to ensure correct syntax.
- Semantic Analysis: Performs semantic analysis to catch errors and ensure adherence to language rules.
- Java Development Kit (JDK) 21 or later installed on your machine.
- IntelliJ IDEA for working with the project.
- Maven installed on your machine.
- Clone the repository:
git clone https://github.com/your-username/mylang-compiler.git
- Open IntelliJ IDEA and select "File" -> "Open" and choose the project directory.
- Set up the project SDK to use JDK 21 or later:
- Navigate to "File" -> "Project Structure".
- Under "Project", set the "Project SDK" to JDK 21 or later.
- Open the Main class in IntelliJ IDEA.
- Locate the main method and run the program.
- The code editor should open, allowing you to create or open source files.
If you'd like to contribute to the development of the java-compiler, please follow our Contribution Guidelines.