News for hackers. Stuff that matters.
Re:T3X – a minimal procedural language by sigjuice on Friday May 05, 2017 @01:38PM (#14275254)
Looks cool, but what is FreeBSD-specific about it? Shouldn't a compiler just be reading and writing files?
Re:T3X – a minimal procedural language by oddity on Friday May 05, 2017 @01:57PM (#14275426)
It generates FreeBSD executables directly.

>The compiler translates from T3X9 directly to FreeBSD-386-ELF. It does not require any assembler, linker, or other additional programs. I suspect that it can be ported to other 32-bit ELF Unixes in about half an hour.

Re:T3X – a minimal procedural language by sitkack on Friday May 05, 2017 @08:40PM (#14277957)
WebAssembly port would be fun.
Re:T3X – a minimal procedural language by JdeBP on Friday May 05, 2017 @01:54PM (#14275406)
Compiled executables are, by their very natures, usually specific to operating systems. This minimal compiler outputs one specific executable file format, hardwiring a specific platform and instruction set architecture in that executable file format's header.
Re:T3X – a minimal procedural language by sigjuice on Friday May 05, 2017 @04:52PM (#14276758)
Yes, I know that about executables, but I guess compiler-related subtleties are lost on me. I will clearly benefit from reading the book I just bought.