-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md~
68 lines (50 loc) · 1.99 KB
/
README.md~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# CDART Programming Language
CDART is a minimalistic programming language designed to be simple and easy to use. It is currently in the early stages of development and aims to provide a clean and efficient syntax for common programming tasks.
## Features
- **Simple Syntax**: CDART has a straightforward and easy-to-understand syntax, making it accessible for beginners.
- **Variable Declaration**: Use `let` to declare variables.
- **State Evaluation**: Use `state` to evaluate and print variables and expressions.
- **Modular Design**: Easily import and use modules.
## Current Status
CDART is in the early stages of development. The following features are currently implemented:
- Basic variable declaration and assignment
- State evaluation for variables and string literals
- Simple error handling for undefined variables
- Basic import functionality (placeholder)
## Getting Started
### Prerequisites
- Python 3.x
- Flask (for web server functionality)
- Tkinter (for GUI functionality)
### Installation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/cdart.git
cd cdart
```
2. Install the required Python packages:
```sh
pip install flask
```
### Running the Interpreter
To run the CDART interpreter, execute the following command:
```sh
python cdart.py
```
This will start the CDART interpreter with a simple GUI where you can input and execute CDART code.
### Example Code
Here is an example of CDART code that demonstrates variable declaration and state evaluation:
```
let x = 10
let y = "Hello, World!"
state(x)
state(y)
state("A string literal")
state(unknown_variable)
```
### Contributing
Contributions are welcome! Please fork the repository and submit pull requests with your improvements.
### License
This project is licensed under the MIT License - see the LICENSE file for details.
### Developers and facts:
CDART is initially developed and the idea of Aayush Sharma, then it is continued and now we (4 devs working on cdart) with a vison of