An open API service indexing awesome lists of open source software.

https://github.com/adidem23/lexicode

This project focuses on Web Based Application which can visulizes the tokens , lexemes and other processes in compiler Design . It has Three Sections each for lex analysis , semantic Analysis and Syntax Analysis .
https://github.com/adidem23/lexicode

bison express flex lex nodejs reactjs ubuntu yacc

Last synced: 5 months ago
JSON representation

This project focuses on Web Based Application which can visulizes the tokens , lexemes and other processes in compiler Design . It has Three Sections each for lex analysis , semantic Analysis and Syntax Analysis .

Awesome Lists containing this project

README

          



Lexicode : C code Compiler visualization Tool


Table of Contents



  1. About The Project



  2. Getting Started


  3. Usage

## About The Project

Welcome to our web-based C compiler visualization tool! Our platform is designed to empower both novice and experienced programmers by providing a unique and user-friendly way to interact with and understand the intricacies of C programming. With our tool, you can not only write, compile, and run C code directly in your web browser but also visualize the entire compilation process step by step. Whether you're a student learning C or a seasoned developer looking for a powerful debugging and teaching resource, our tool is here to simplify your journey. Explore the fascinating world of C programming with ease, boost your coding skills, and gain a deeper understanding of the compiler's inner workings. We're excited to be your trusted companion in your programming adventures

### Built With

This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

- [![My Skills](https://skillicons.dev/icons?i=react&perline=3)](https://skillicons.dev) ReactJs
- [![My Skills](https://skillicons.dev/icons?i=nodejs&perline=3)](https://skillicons.dev) NodeJs
- [![My Skills](https://skillicons.dev/icons?i=express&perline=3)](https://skillicons.dev) ExpressJs
- [![My Skills](https://skillicons.dev/icons?i=linux&perline=3)](https://skillicons.dev) Linux
- [![My Skills](https://skillicons.dev/icons?i=docker&perline=3)](https://skillicons.dev) Docker
- [![My Skills](https://skillicons.dev/icons?i=bash&perline=3)](https://skillicons.dev) Bash-Shell
- AlongSide This Used Lex,Flex, Bison , NodeJs-Child Processes , File Handling

### Prerequisites

This is an example of how to list things you need to use the software and how to install them.
* npm
```sh
npm install npm@latest -g
```

* Linux or Ubuntu must be there in your system

* NodeJs
```sh
Download Nodejs Version ^ 17.0.0 LTS
```

### Installation
Follow The Installation manual and install dependencies

1.Clone this repo

2.Install NPM Modules
```sh
cd cpfrontend
npm install --force
cd cpBackend
npm install --force
```
3.Install Lex , Flex and bison
```sh
sudo apt-get update
sudo apt-get install flex bison
```

4.Run Frontend
```js
cd cpfrontend
npm run start
```
5.Run Backend
```js
cd cpbackend
nodemon Server.js
```
6. Enter C file Code and Good TO GO

# Deployement Link(Frontend Only): https://lexicodenew.vercel.app/

## Output and Screenshots and Video Output :

- FrontPage :

Screenshot 2023-10-27 214526

- Lexical Analysis 1.0 :

![image](https://github.com/Adidem23/Lexicode/assets/124609794/a236712b-5462-4ba2-9b2e-5732b2329f0c)

- Lexical Analysis 2.0 :

![image](https://github.com/Adidem23/Lexicode/assets/124609794/46082116-cf43-4a55-ad7d-9b7e454b2607)

- Lexical Analysis 3.0 :

![image](https://github.com/Adidem23/Lexicode/assets/124609794/9325516f-a3b6-40af-83d5-9a27fe26a883)

- Syntax Analysis :

Screenshot 2023-10-27 214844

- Semantic Analysis :

![image](https://github.com/Adidem23/Lexicode/assets/124609794/bd47244f-96f4-4f0a-8c0a-8f1f2212f2a7)

- Video Output of Code :

https://www.loom.com/share/d963993a91344101b43c5f0605f9d601?sid=10758432-140f-4005-9dfb-7914dc09cf0f