Simple interpreter
Go to file
tijani 831b333a74 Built-in Functions: len()
Will take in a string a string and return the length of said string. This function only accepts one 
argument. This function only accepts strings. Any other type will result in an error.

git-svn-id: https://svn.tlawal.org/svn/monkey@65 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2023-08-14 19:40:04 +00:00
ast Now supports strings. 2023-05-09 19:59:18 +00:00
evaluator Built-in Functions: len() 2023-08-14 19:40:04 +00:00
lexer Now supports strings. 2023-05-09 19:59:18 +00:00
object Built-in Functions: len() 2023-08-14 19:40:04 +00:00
parser Now supports strings. 2023-05-09 19:59:18 +00:00
repl Implemented environments which is just a hash map to keep track of values in the language. 2022-08-19 07:18:37 +00:00
token Now supports strings. 2023-05-09 19:59:18 +00:00
go.mod Monkey can now lex its basic types and keywords. 2022-05-12 20:51:16 +00:00
main.go Implemented environments which is just a hash map to keep track of values in the language. 2022-08-19 07:18:37 +00:00
readme.txt add readme 2022-06-01 14:27:07 +00:00

The Monk Programming Language.

To test a specific function, run

```
go test -v -run 'TestFnctionName' ./test_dir/
```