foolang
foolang copied to clipboard
A toy programming language.
``` foolang key -> value --> Association from: key to: value ``` Implement as operator or syntax? Pro syntax: - Cannot be overridden - `{ a -> x }` is...
Depends on #131 and #452
Ability to mark methods in interfaces as "important", giving performance hints if unimplemented. Classes can silence the performance hints by explicitly saying `default method foo`.
If comma constructs a tuple, postfix function syntax like `(a, b) max` falls out. This also allows APL like `1 + 2, 3, 4` expressions.
Ie. ``` { |x| foo x: x } == { foo x: _ } ``` (This is one of the more ambitious "good first issues" -- I would suggest doing...
Texmate grammar at least, or LSP, or maybe a JS implementation from #359?
See: https://github.com/DRMacIver/minithesis
Diverge fearlessly from Smalltalk when you can make things more consistent. (Selector name consistency is _not_ one of the things Smalltalk is great about.) Examples that I'm thinking about: 1....