Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control structures (100% Done) #11

Closed
khval opened this issue Feb 24, 2018 · 9 comments
Closed

Control structures (100% Done) #11

khval opened this issue Feb 24, 2018 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@khval
Copy link
Owner

khval commented Feb 24, 2018

No description provided.

@khval khval created this issue from a note in Support all AMOS The creator commands (Command category's) Feb 24, 2018
@khval khval added help wanted Extra attention is needed enhancement New feature or request labels Feb 24, 2018
@khval khval added this to the Playful kitten. milestone Feb 24, 2018
@khval
Copy link
Owner Author

khval commented Mar 14, 2018

A lot of this has been implemented, as some it is also covered under basic principles.
Goto,Gosub,IF Then Else, For Next, While Wend, Repeat, Until, Do, Loop
This are not supported "Else if","Exit","Exit If","EDIT","DIRECT" not supported, should work like "END",ON..PROC,ON..GOTO,ON..GOSUB,EVERY n GOSUB,EVERY n PROC,EVERY ON/OFF,BREAK ON/OFF,ON ERROR GOTO,ON ERROR PROC,RESUME,=ERRN,ERROR
So let's say Amos Kittens support ~30% of control functions.

@khval khval changed the title Control structures Control structures (30% Done) Mar 14, 2018
@khval khval self-assigned this Apr 1, 2018
@khval
Copy link
Owner Author

khval commented Apr 1, 2018

This now priority, to get error handling into Amos Kittens, less common things might be pushed back.

@khval
Copy link
Owner Author

khval commented Apr 2, 2018

3 new supported On Error Goto,On Error Proc,Error
16 Implemented / 8 missing, total 24
16*100/24 = 66.66% done

@khval khval changed the title Control structures (30% Done) Control structures (66.66% Done) Apr 2, 2018
@khval
Copy link
Owner Author

khval commented Apr 3, 2018

4 new command, On ... Gosub, On ... Goto, Resume, Resume Next.
20 Implemented / 4 missing, total 24
20*100/24 = 83.33% done

@khval khval changed the title Control structures (66.66% Done) Control structures (83.33% Done) Apr 3, 2018
@khval
Copy link
Owner Author

khval commented Apr 10, 2018

1 new command, Exit
21 Implemented / 3 missing, total 24
21*100/24 = 87% done

@khval khval changed the title Control structures (83.33% Done) Control structures (87% Done) Apr 10, 2018
@khval
Copy link
Owner Author

khval commented Apr 11, 2018

1 new command, Exit If
22 Implemented / 2 missing, total 26
22*100/26 = 84.6% done

@khval khval changed the title Control structures (87% Done) Control structures (91% Done) Apr 11, 2018
@khval
Copy link
Owner Author

khval commented Apr 12, 2018

1 New command, Every On/Off,
(Every Time Proc, Every Time Gosub not fully implemented)
23 Implemented / 3 missing, total 26
23*100/26 = 88.4% done

@khval
Copy link
Owner Author

khval commented Apr 14, 2018

2 New command
Every [time] Proc [procedure],
Every [time] Gosub [label]
25 Implemented / 1 missing, total 26
25*100/26 = 96% done

@khval khval changed the title Control structures (91% Done) Control structures (96% Done) Apr 14, 2018
@khval
Copy link
Owner Author

khval commented Apr 14, 2018

1 New command
Break On/Off
26 Implemented / total 26
26*100/26 = 100% done

@khval khval changed the title Control structures (96% Done) Control structures (100% Done) Apr 14, 2018
@khval khval closed this as completed Apr 14, 2018
@khval khval removed the help wanted Extra attention is needed label Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant