I\'m thinking about writing my own little language. I found a few options, but feel free to suggest more.
I\'d love to be able to do this: class myInt : public int { }; Why can\'t I? Why would I want to? Stronger typing. For example, I could define two classes intA and intB, which let me do intA + in
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot 开发者_运维知识库be reasonably answered in its current for
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by fact开发者_JS百科s, references,or expertise, but this question will likely soli
If a programming language allowed the creation of database tables, but only allowed one field to be used as an index ... how limiting would that be? I am not a real database programmer, so 开发者_Stac
What is the best way to use F# to parse an AST to build an interpreter? There are plenty of F# examples for t开发者_如何学Gorivial syntax (basic arithmatical operations) but I can\'t seem to find anyt
C++ compilers automatically generate copy constructors and copy-assignment operators. Why not swap too?
If I design a new language with type inference, no explicit types and no class inheritance support and then want to add inheritance, what are the minimum extra hints to the compiler needed to resolve
I\'m adding coroutine support to an interpreter I\'m writing and I\'d like to do something like the following:
I can\'t understand why Python doesn\'t have a sign function. It has an abs builtin (which I consider sign\'s sister), but no sign.