Commit Graph

24 Commits

Author SHA1 Message Date
e3e6c6a411
Add TODO.md 2024-11-21 10:13:12 +11:00
4ab705df0c
Update README.md and more examples 2024-11-21 10:10:36 +11:00
689034a522
Add compile-expr/ 2024-10-01 23:48:00 +10:00
a77da74da5
Add examples/ 2024-10-01 19:06:03 +10:00
5c02a9f858
Add dump_tokens.py 2024-10-01 19:02:20 +10:00
9e68c529bf
Clean up ppp_stdlib.py 2024-10-01 14:37:23 +10:00
04fff7514e
Make array literals explicitly state the element type 2024-10-01 14:30:05 +10:00
e48d50f1e6
Make structure instantiation StructType.{args...} instead of StructType{args...} 2024-10-01 14:30:05 +10:00
f3ed26f131
Make return a regular statement instead of an expression 2024-10-01 14:29:41 +10:00
18b22cd5d1
Fix token location reporting 2024-10-01 11:28:10 +10:00
b02ca87760
Remove union types
I will need to implement polymorphism later to allow for functions like `len` to work. Len currently relies on saying that its argument is either a list or a string, as strings are not a subtype of lists.
2024-08-13 12:45:42 +10:00
dd3b933e03
Make imports expect a string, not an expression 2024-08-12 00:16:13 +10:00
0dbc46bf9c
Remove Hashable import from ppp_interpreter.py
Should have done this with the previous commit...
2024-08-12 00:06:30 +10:00
1efac4b8e5
Remove everything to do with Hashing
I forgot to remove this during the previous commit
2024-08-12 00:05:01 +10:00
238980d602
Remove Dictionaries
Remove parsing and evaluating of Dictionaries
2024-08-12 00:00:03 +10:00
2b840ff8b9
Fix errors in README examples 2024-08-11 23:33:56 +10:00
1688296528
Add WIP README.md
I still need to add more examples to it, and as I work on the
language, the syntax will certainly change, and I will hopefully
change the README to reflect these changes as they happen.
2024-08-11 23:30:40 +10:00
1a04677440
Fix up do-while.md 2024-08-11 13:07:05 +10:00
2cee127d8f
Add parsing for defers 2024-08-11 12:59:19 +10:00
659c79373d
Remove ppp_types0.py
It is just an old version of ppp_types.py, before I probably rewrote
the way types worked.
2024-08-11 11:44:50 +10:00
9b960e3ecf
Move markdown files into plans/ directory 2024-08-11 11:40:00 +10:00
66cd54e532
Move .ppp files into ppp/ directory
I plan to make a few changes to my language, and I will then update
these files later. I am moving them because I don't want them
polluting the main directory. I probably should have done this to
begin with, but better late than never.
2024-08-11 11:35:49 +10:00
782b68a12b
Add do-while.md
I created this file after I came back to the project and randomly had
a though about do-while blocks, which lead me to other thoughts.
2024-08-08 22:01:00 +10:00
7c1ce16f4b
Initial commit
This is the state of this project as it was back at the end of March,
when I stopped working on it. I left markdown files as documentation
for myself of the stuff I wanted to do.
2024-08-08 21:54:03 +10:00