Support for loops #63

Open
opened 2022-12-17 17:10:41 +00:00 by deavmi · 8 comments
Owner

What is to be done?

We need to implement support for the following loop structures:

  • while loops (see issue #72)
    • Parsing
    • Dependency generation
    • Code generation and typechecking
    • Code emit
  • do...while loops (see issue #73)
    • Parsing
    • Dependency generation
    • Code generation and typechecking
    • Code emit
  • for loops (see issue #74)
    • Parsing
    • Dependency generation
    • Code generation and typechecking
    • Code emit
## What is to be done? We need to implement support for the following loop structures: - [x] `while` loops (see issue #72) - [x] Parsing - [x] Dependency generation - [x] Code generation and typechecking - [x] Code emit - [ ] `do...while` loops (see issue #73) - [ ] Parsing - [ ] Dependency generation - [ ] Code generation and typechecking - [ ] Code emit - [x] `for` loops (see issue #74) - [x] Parsing - [x] Dependency generation - [x] Code generation and typechecking - [x] Code emit
deavmi added this to the Basics milestone 2022-12-17 17:12:57 +00:00
deavmi added the
typing
dependency
parser
emit
labels 2022-12-17 17:14:03 +00:00
deavmi added the due date 2022-12-18 2022-12-17 17:14:14 +00:00
deavmi added this to the Dependency tree, type-checking and codegen project 2022-12-19 13:47:04 +00:00
deavmi self-assigned this 2022-12-19 13:47:08 +00:00
deavmi added reference loops 2022-12-19 13:47:49 +00:00
deavmi modified the due date from 2022-12-18 to 2022-12-21 2022-12-19 13:48:33 +00:00
deavmi started working 2022-12-19 13:49:18 +00:00
Author
Owner

Eish, I should try grind this out soon fr no cap

Eish, I should try grind this out soon fr no cap
Author
Owner

Eish, fam 🇱🇸

Eish, fam 🇱🇸
Author
Owner

I will look at this again very soon.

I will look at this again very soon.
deavmi modified the due date from 2022-12-21 to 2023-01-04 2022-12-26 15:47:59 +00:00
Author
Owner

Working on while loops now, almost done. So far so good, working on emit now (final stage)

Working on `while` loops now, almost done. So far so good, working on emit now (final stage)
Author
Owner

Looks like they are now implemented with commit 22c4e8d5a1f9765c824747aab2ff15a16afdcb3c on the loops branch

Looks like they are now implemented with commit `22c4e8d5a1f9765c824747aab2ff15a16afdcb3c` on the `loops` branch
Author
Owner

I should add do-whiles tomorrow and then for-loops after that and then we can really get this done!

I should add do-whiles tomorrow and then for-loops after that and then we can really get this done!
deavmi added a new dependency 2023-01-07 10:57:14 +00:00
deavmi added a new dependency 2023-01-07 10:58:39 +00:00
deavmi added a new dependency 2023-01-07 10:59:23 +00:00
deavmi stopped working 2023-01-07 11:26:11 +00:00
2 weeks 4 days
deavmi modified the due date from 2023-01-04 to 2023-01-10 2023-01-08 10:48:42 +00:00
Author
Owner

For loops are done, except for variations in #79

For loops are done, except for variations in #79
deavmi modified the due date from 2023-01-10 to 2023-01-12 2023-01-11 09:30:56 +00:00
Author
Owner

This issue must have a new branch, or well the loops branch should be updated with vardec_varass_dependency and we should then yeah, like, actually implement do while loops.

This issue must have a new branch, or well the `loops` branch should be updated with `vardec_varass_dependency` and we should then yeah, like, actually implement do while loops.
deavmi removed the due date 2023-01-12 2024-02-27 21:04:22 +00:00
deavmi added the due date 2024-03-10 2024-02-27 21:04:34 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Total Time Spent: 2 weeks 4 days
deavmi
2 weeks 4 days
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2024-03-10

Depends on
#74 for loops
tlang/tlang
You do not have permission to read 2 dependencies
Reference: tlang/tlang#63
No description provided.