Tristan B. Velloza Kildaire deavmi
  • Stellenbosch, South Africa
  • https://deavmi.assigned.network
  • I ❤️ programming and computers. I have a big interest in compiler and interpreter design and implementation and also an interest in networking and fmts/protos.

  • Joined on 2021-12-21
deavmi commented on issue tlang/tlang#182 2024-05-11 10:11:56 +01:00
🧹🧼️ Cleanup: Variable inside of VariableAssignment AST node?

So it isn't dead code

deavmi commented on issue tlang/tlang#182 2024-05-11 10:11:26 +01:00
🧹🧼️ Cleanup: Variable inside of VariableAssignment AST node?

or not? Removing it I error immediately.

deavmi commented on issue tlang/tlang#182 2024-05-11 10:10:19 +01:00
🧹🧼️ Cleanup: Variable inside of VariableAssignment AST node?

So the important part is figuring out if we actually ever use the VariableAssignmentNode, which, as it looks here, might not be the case. The typechecker handles VariableAssignmentNode (where…

deavmi opened issue tlang/tlang#182 2024-05-11 10:06:42 +01:00
🧹🧼️ Cleanup: Variable inside of VariableAssignment AST node?
deavmi commented on issue tlang/tlang#181 2024-05-11 09:58:20 +01:00
Feature: MStatementReplaceable interface update

Mcro (unittests)

  • Added new unittest
deavmi commented on issue tlang/tlang#181 2024-05-11 09:57:43 +01:00
Feature: MStatementReplaceable interface update

FunctionCall

  • use a weight of 2 to fix re-ordering of ourselves when occuring as a Statement in the body of some Container which applies re-ordering
deavmi commented on issue tlang/tlang#181 2024-05-11 09:56:48 +01:00
Feature: MStatementReplaceable interface update

Adding a unittest now to test this out

Looks like it works. Had to add a missing weight = 2 for the FunctionCall because getStatements() re-orders things and hence the unit test…

deavmi commented on issue tlang/tlang#181 2024-05-11 09:54:35 +01:00
Feature: MStatementReplaceable interface update

Adding a unittest now to test this out

Looks like it works. Had to add a missing weight = 2 for the FunctionCall because getStatements() re-orders things and hence the unit test would…

deavmi commented on issue tlang/tlang#181 2024-05-11 09:45:56 +01:00
Feature: MStatementReplaceable interface update

Adding a unittest now to test this out

deavmi commented on issue tlang/tlang#181 2024-05-11 09:35:42 +01:00
Feature: MStatementReplaceable interface update

Working, so far, on getting insertBefore added in :)

Okay, it appears I have it implemented, just the insertBefore(Statement, Statement), for all AST nodes that were currently implementing…

deavmi commented on issue tlang/tlang#181 2024-05-11 09:27:26 +01:00
Feature: MStatementReplaceable interface update

Working, so far, on getting insertBefore added in :)

deavmi commented on issue tlang/tlang#181 2024-05-10 21:15:09 +01:00
Feature: MStatementReplaceable interface update

Enough work for tonight, will continue tomorrow.

deavmi commented on issue tlang/tlang#181 2024-05-10 20:18:28 +01:00
Feature: MStatementReplaceable interface update

new things to add to MStatementReplaceable:

    public bool insertBefore(Statement thiz, Statement that);
    public bool insertAfter(Statement thiz, Statement that);
    public bool
deavmi commented on issue tlang/tlang#181 2024-05-10 20:16:00 +01:00
Feature: MStatementReplaceable interface update

Mmmh, thinking now and this may not be the west way to go. An "index" isn't an easily generalizable thing. Comparing, however, with something like MSearchable and MReplaceable, those are based…

deavmi synced new reference feature/insertInto to deavmi/niknaks from mirror 2024-05-10 14:44:18 +01:00
deavmi synced commits to master at deavmi/niknaks from mirror 2024-05-10 14:44:18 +01:00
a4a7d7c8ab Feature: Insert at (#23)
deavmi synced commits to refs/pull/22/merge at deavmi/niknaks from mirror 2024-05-10 14:44:18 +01:00
3d40ea14b1 Merge 1bdce71561ea6e9f97907c653875b5ceb002977c into a4a7d7c8ab01eddfaeeba70342d035bbf5f79c41
a4a7d7c8ab Feature: Insert at (#23)
Compare 2 commits »
deavmi synced commits to refs/tags/v0.17.0 at deavmi/niknaks from mirror 2024-05-10 14:44:18 +01:00
deavmi synced new reference refs/tags/v0.17.0 to deavmi/niknaks from mirror 2024-05-10 14:44:18 +01:00
deavmi synced commits to feature/insertInto at deavmi/niknaks from mirror 2024-05-10 14:44:17 +01:00