Re:Scopes – Retargetable programming language and infrastruc...
by mehrdadn on Monday May 06, 2019 @01:07AM
(#19837008)
Has anybody managed to figure out how to use compile-object to produce executables?
[ Parent
| on HN ]
Re:Scopes – Retargetable programming language and infrastruc...
by mehrdadn on Monday May 06, 2019 @04:42AM
(#19837768)
Update: I found a demo in their source code in testing/test_object.sc which you can apparently compile to a nice and tiny ~16 KiB executable via:
scopes test_object.sc && clang -O3 -s -o test.exe test.o