scScript for Linux
scapplications.com
scScript for Linux
1–10 of 19 posts
Re: scScript for Linux
#2Re: scScript for Linux
#3I wanted to write a love note to C... and if you hate it, it is all my fault.
Isn't the same kind of thing available from LLVM?
clang -emit-llvm -c main.c -o - | lliRe: scScript for Linux
#4I wanted to write a love note to C... and if you hate it, it is all my fault.
It looks interesting. Isn't the same kind of thing available from LLVM? clang -emit-llvm -c main.c -o - | lli
The difficulty in designing a language is not so much implementing a compiler, but the iterative process of implementing and fine-tuning a given aesthetic... a given flavor as it were and it has to work well. Of course the other side is testing the damn thing... so my hats off to QA!
Nevertheless, I am sure good tool users could save a lot of time instead of hand implementing everything, as I would. So thumbs up to LLVM.
Re: scScript for Linux
#5I wanted to write a love note to C... and if you hate it, it is all my fault.
Re: scScript for Linux
#6Re: scScript for Linux
#7Re: scScript for Linux
#8Can this trans-compile to C? (And vice versa?)
If you want pure speed, then you would rather have it generate machine instructions instead of higher-level ByteCode ops. But you would not be using a scripting language if you want pure speed.
Perhaps if you only want a double-arglist variant of C (you must call it scC!) then you could write a front end processor! And by you, I mean not me :-)
Re: scScript for Linux
#9Re: scScript for Linux
#10Earlier quoted context omitted.
It looks interesting. Isn't the same kind of thing available from LLVM? clang -emit-llvm -c main.c -o - | lli
You could run C that way... but scScript is a scripting language using C-like syntax with features designed for scripting. For example, it provides dual variadic parameter/arg lists. Turns out having "in" (pass-by-val) and "out" (pass-by-ref) parameters are more pleasant (at least to me) than trying to return N values out of a function (especially since script languages run away from pointers). Perhaps it is a testam…