4 ms·
This or possibly a projec that would attempt to find an common Set of AST definitions that could be serialised & deserialised into most of the common languages
by chrismatheson 8y ago
This or possibly a projec that would attempt to find an common Set of AST definitions that could be serialised & deserialised into most of the common languages, then store source code in this definition rather than any one language, allowing the “same” program to be shown as C#, or java, or F# or python or javascript ... even maybe individual functions... the syntax essentially just becoming a display preference, but the tooling (source control & diffing & static analysis etc) would all work at the AST level
- mayank 8y agoNot exactly what you’re suggesting, but look at LLVM IR.