Variations #79

Open
opened 2023-01-11 08:31:02 +00:00 by deavmi · 0 comments
Owner

What is this?

Many things have been implemented in thir canonical form, however, I would like to add support for variations are popular constructs. Such as a for-loop with no pre-loop statement, no condition and no post-iteration statement.

For loops

  • Allow conditionless for loops
  • Allow pre-loop statementless for loops
  • Allow post-iteration statementless for loops

Function definitions

  • Do not allow nested function definitions

Backmappings

  • We should implement either all backmappings or switch to a table method, with a helper method for looksup on non-inversible maps

Ampersand operator

  • Only allow ampersanding IdentInstructions, no literals

Compiler options

  • Allow arbrtrary flag setting into the CompilerConfiguration instance of the Compiler object via the command-line flags
  • Ensure that object files requested to be linked in actually exist
  • Maybe more control over what we want the system's C-compiler (cc) to implictly do
  • Add support fo controlling debug output
  • Better error handling and toString() methods for the exceptions classes
  • Clean up codebase modules
## What is this? Many things have been implemented in thir canonical form, however, I would like to add support for variations are popular constructs. Such as a for-loop with no pre-loop statement, no condition and no post-iteration statement. ### For loops - [ ] Allow conditionless for loops - [ ] Allow pre-loop statementless for loops - [ ] Allow post-iteration statementless for loops ### Function definitions - [ ] Do not allow nested function definitions ### Backmappings - [ ] We should implement either all backmappings or switch to a table method, with a helper method for looksup on non-inversible maps ### Ampersand operator - [ ] Only allow ampersanding `IdentInstruction`s, no literals ### Compiler options - [ ] Allow arbrtrary flag setting into the `CompilerConfiguration` instance of the `Compiler` object via the command-line flags - [ ] Ensure that object files requested to be linked in actually exist - [ ] Maybe more control over what we want the system's C-compiler (`cc`) to implictly do - [ ] Add support fo controlling debug output - [ ] Better error handling and `toString()` methods for the exceptions classes - [ ] Clean up codebase modules
deavmi self-assigned this 2023-01-11 08:31:40 +00:00
deavmi added this to the Parser project 2023-01-11 08:32:22 +00:00
deavmi added this to the Basics milestone 2023-01-11 08:32:25 +00:00
deavmi added the
dependency
parser
emit
labels 2023-01-11 08:32:35 +00:00
deavmi added reference vardec_varass_dependency 2023-01-11 09:57:05 +00:00
deavmi added the due date 2023-02-28 2023-01-12 12:43:00 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2023-02-28

Dependencies

No dependencies set.

Reference: tlang/tlang#79
No description provided.