SirusCodes 1 year ago Interesting thought... But how will that work? The statement would be executed only it comes from that line? immibis 1 year ago It is reverse GOTO. After (or before - your choice) that line is executed, execution jumps to the comefrom. SirusCodes 1 year ago I don't know how I'm going to implement it but seems pretty interesting flow.Raised issue - https://github.com/SirusCodes/AntiLang/issues/7 lloeki 1 year ago I see no mention of INTERCAL in this thread, which implements COME FROMIf you don't know about it, you're in for a treat.https://en.wikipedia.org/wiki/INTERCALThe joke runs longer: https://en.wikipedia.org/wiki/COMEFROM ambigious7777 1 year ago that's absolutely evil movpasd 1 year ago The compiler inserts a goto to the statement following the comefrom statement into the line specified. :^)If multiple comefroms to the same line are specified, the comefrom to jump to is selected randomly. GuB-42 1 year ago It is like a regular goto, but with the label and statement reversed.So instead of label: do_something goto label You have comefrom label do_something label: Really, that's just syntax. Declare your labels with "comefrom", and ":" means "jump". But it looks a lot more confusing this way. TeMPOraL 1 year ago It's just syntax until you decide to support both. kbelder 1 year ago Ok, so: comefrom label goto label label: A brand new way to lock up your machine.
immibis 1 year ago It is reverse GOTO. After (or before - your choice) that line is executed, execution jumps to the comefrom. SirusCodes 1 year ago I don't know how I'm going to implement it but seems pretty interesting flow.Raised issue - https://github.com/SirusCodes/AntiLang/issues/7 lloeki 1 year ago I see no mention of INTERCAL in this thread, which implements COME FROMIf you don't know about it, you're in for a treat.https://en.wikipedia.org/wiki/INTERCALThe joke runs longer: https://en.wikipedia.org/wiki/COMEFROM ambigious7777 1 year ago that's absolutely evil
SirusCodes 1 year ago I don't know how I'm going to implement it but seems pretty interesting flow.Raised issue - https://github.com/SirusCodes/AntiLang/issues/7 lloeki 1 year ago I see no mention of INTERCAL in this thread, which implements COME FROMIf you don't know about it, you're in for a treat.https://en.wikipedia.org/wiki/INTERCALThe joke runs longer: https://en.wikipedia.org/wiki/COMEFROM
lloeki 1 year ago I see no mention of INTERCAL in this thread, which implements COME FROMIf you don't know about it, you're in for a treat.https://en.wikipedia.org/wiki/INTERCALThe joke runs longer: https://en.wikipedia.org/wiki/COMEFROM
movpasd 1 year ago The compiler inserts a goto to the statement following the comefrom statement into the line specified. :^)If multiple comefroms to the same line are specified, the comefrom to jump to is selected randomly.
GuB-42 1 year ago It is like a regular goto, but with the label and statement reversed.So instead of label: do_something goto label You have comefrom label do_something label: Really, that's just syntax. Declare your labels with "comefrom", and ":" means "jump". But it looks a lot more confusing this way. TeMPOraL 1 year ago It's just syntax until you decide to support both. kbelder 1 year ago Ok, so: comefrom label goto label label: A brand new way to lock up your machine.
TeMPOraL 1 year ago It's just syntax until you decide to support both. kbelder 1 year ago Ok, so: comefrom label goto label label: A brand new way to lock up your machine.
INTERCAL already has this in its language
Interesting thought... But how will that work? The statement would be executed only it comes from that line?
It is reverse GOTO. After (or before - your choice) that line is executed, execution jumps to the comefrom.
I don't know how I'm going to implement it but seems pretty interesting flow.
Raised issue - https://github.com/SirusCodes/AntiLang/issues/7
I see no mention of INTERCAL in this thread, which implements COME FROM
If you don't know about it, you're in for a treat.
https://en.wikipedia.org/wiki/INTERCAL
The joke runs longer: https://en.wikipedia.org/wiki/COMEFROM
that's absolutely evil
The compiler inserts a goto to the statement following the comefrom statement into the line specified. :^)
If multiple comefroms to the same line are specified, the comefrom to jump to is selected randomly.
It is like a regular goto, but with the label and statement reversed.
So instead of
You have
Really, that's just syntax. Declare your labels with "comefrom", and ":" means "jump". But it looks a lot more confusing this way.
It's just syntax until you decide to support both.
Ok, so:
A brand new way to lock up your machine.