readme update

This commit is contained in:
Matthieu Bessat 2022-05-15 21:00:32 +02:00
parent b72448c62d
commit 7700e61019

View file

@ -6,7 +6,7 @@ A very basic interpreted programming language.
The goal of this project is to create a simple implementation of a BASIC-like language just to learn a few things along the way and practice my C programming skills.
No need to do complex thing, just to create a simple interpreted language that can be used to do some arithmetics
No need to do complex things, just to create a simple interpreted language that can be used to do some arithmetics
and create for example a number guessing game.
I didn't really study how others languages works beforehand, I'm just guessing how I'm implementing things so that I can make mistakes to learn from.
@ -27,7 +27,10 @@ ToDo List:
- [X] allow to set variables
- [X] read line comments
- [ ] add modulus operator '%'
- [ ] implement input_number()
- [ ] add support for multiple characters operators
- [ ] add inclusive operators like '!=', '>=', '<='
- [ ] add input_number() std function
- [ ] add type() std function
- [X] base of the CLI
- [ ] evaluate expression from stdin
- [X] read a file
@ -135,10 +138,16 @@ end
```
abs(nb)
sqrt,sin,cos,exp,ln,log etc.
print_number(data)
print_number(nb)
input_number()
random_int(min, max)
random_float(min, max)
type(var) -> return the type of a var as int
is_int(var)
is_float(var)
print_string(str)
print_newline()
print_ascii(nb)
```
# Evaluator (draft)