4 ms·
you may want to take a peek at INTERCAL. you think GOTO is bad? wait until you have to deal with COME FROM, especially in "Threaded INTERCAL" where arriving at
by knome 2y ago
you may want to take a peek at INTERCAL. you think GOTO is bad? wait until you have to deal with COME FROM, especially in "Threaded INTERCAL" where arriving at the location that multiple active COME FROM statements are pointing to simply jumps to all of them simultaneously.
- drdec 2y agoIs COME FROM significantly different from an event-driven architecture?
- fc417fc802 2y agoNot in the sense of flow of execution. But you'd explicitly fire off an event, no? COME FROM is registering invisible triggers at arbitrary locations.
- kryptiskt 2y agoC# has a new feature, interceptors, that is very COME FROM like. https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-12#interceptors https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs...
- SirusCodes 2y agoMight implement this feature. Raised an issue on GitHub - https://github.com/SirusCodes/AntiLang/issues/7 https://github.com/SirusCodes/AntiLang/issues/7
- fc417fc802 2y agoDoes the language have continuations? If you're going for fun control flow features those are both much more useful and mind bending. They also fit the theme you have going since most languages don't have them and they're effectively the reverse of a function call.
- SirusCodes 2y agoSure I will take a look at it
- meta-level 2y agoalso you can set the probability of a command to be executed at all!