Pointer support #17

Closed
opened 2022-10-28 10:26:02 +01:00 by deavmi · 2 comments
Owner

We don not yet have support for pointers, this includes several things which are required to be implemented:

  • Support for the& operator
    • This may be supported already - not sure
  • Pointer types
    • Parser support
      • We need to look at how we are going to do this, I think beingf strict about:
      // This is correct
      int* ptr;
      
      //This is incorrect
      int * ptr.
      
    • Type checker support (may already be done, I think it is) see #79
We don not yet have support for pointers, this includes several things which are required to be implemented: - [x] Support for the`&` operator * This may be supported already - not sure - [x] Pointer types - [x] Parser support * We need to look at how we are going to do this, I think beingf strict about: ```d // This is correct int* ptr; //This is incorrect int * ptr. ``` - [ ] ~~Type checker support (may already be done, I think it is)~~ see #79
deavmi added the
typing
parser
labels 2022-10-28 10:26:02 +01:00
deavmi self-assigned this 2022-10-28 10:26:02 +01:00
deavmi removed their assignment 2022-10-29 11:16:10 +01:00
deavmi self-assigned this 2022-10-29 11:18:06 +01:00
deavmi removed their assignment 2022-10-29 11:24:39 +01:00
deavmi self-assigned this 2022-10-29 11:24:52 +01:00
deavmi removed their assignment 2022-10-29 12:20:54 +01:00
deavmi self-assigned this 2022-10-29 12:21:03 +01:00
deavmi removed their assignment 2022-11-06 10:13:51 +00:00
deavmi self-assigned this 2022-11-06 10:13:56 +00:00
deavmi added this to the Basics milestone 2023-01-12 09:18:55 +00:00
deavmi added reference pointers 2023-01-12 09:18:59 +00:00
deavmi added this to the Parser project 2023-01-12 09:19:03 +00:00
Author
Owner

I have been working on this now on the pointers branch

I have been working on this now on the `pointers` branch
deavmi added the due date 2023-01-12 2023-01-12 09:19:27 +00:00
Author
Owner

Implemented with commit 7224829fcb339369d0436d3a9ad0158a9f275b0d on branchs pointers

Implemented with commit `7224829fcb339369d0436d3a9ad0158a9f275b0d` on branchs `pointers`
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-12

Dependencies

No dependencies set.

Reference: tlang/tlang#17
No description provided.