4 ms·
I started designing a language where you had lexically scoped "contexts" to specify the meanings of words. In general a package/library would be a context, and
by stcredzero 16y ago
I started designing a language where you had lexically scoped "contexts" to specify the meanings of words. In general a package/library would be a context, and could declare its dependency on other contexts. Any words with conflicting interpretations would have to use its full global specifier to compile.
- chromatic 16y agoPerl does this, Perl 6 especially.
- alnayyir 16y agoSadly x86/arm/mips/sparc/power processors aren't Perl machines and Perl6 thusly can't be used to make a kernel for a Unix derivative.
- bdr 16y agoYes, I think we all wept when we first learned that.
- stcredzero 16y agoOne could probably get Scheme to do this and use it to make a kernel. But what would be the point of making it a Unix machine then? Make it a Scheme machine.
- eru 16y agoThey aren't C machines, either. But I agree, that Perl is probably harder to compile to native code than C.