Function prototypes #85

Closed
opened 2023-01-13 08:40:44 +00:00 by deavmi · 1 comment
Owner

What is this?

Well, when we sometimes emit function definitions and refer to them we sometimes will have an implicit generation of a function caused by the cc compiler. We can fix this by emitting prorotypes for each function first and thne only the function definitions.

### What is this? Well, when we sometimes emit function definitions and refer to them we sometimes will have an implicit generation of a function caused by the `cc` compiler. We can fix this by emitting prorotypes for each function first _and thne only_ the function definitions.
deavmi added reference vardec_varass_dependency 2023-01-13 08:43:18 +00:00
deavmi added the
typing
emit
labels 2023-01-13 08:43:28 +00:00
deavmi added this to the Basics milestone 2023-01-13 08:43:34 +00:00
deavmi added this to the Code emit project 2023-01-13 08:43:38 +00:00
deavmi self-assigned this 2023-01-13 08:43:43 +00:00
deavmi removed reference vardec_varass_dependency 2023-01-13 08:43:50 +00:00
deavmi added reference vardec_varass_dependency 2023-01-13 09:17:02 +00:00
deavmi added the due date 2023-01-13 2023-01-13 09:23:18 +00:00
Author
Owner

This has been implemented with the functions emitFunctionPrototypes() and emitFunctionPrototype(stirng functionName) in commit 7a12c25f74104617e863328ca20314289dfd54f7 on the branch of this issue.

This has been implemented with the functions `emitFunctionPrototypes()` and `emitFunctionPrototype(stirng functionName)` in commit `7a12c25f74104617e863328ca20314289dfd54f7` on the branch of this issue.
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-01-13

Dependencies

No dependencies set.

Reference: tlang/tlang#85
No description provided.