From 7700e610194029dfd97ff7aaaec8166458721407 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 15 May 2022 21:00:32 +0200 Subject: [PATCH] readme update --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 63bcd29..28a1ed5 100644 --- a/README.md +++ b/README.md @@ -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)