Skip to content

Just wanted to say - it’s very interesting.. but #7

@DmitryOlshansky

Description

@DmitryOlshansky

Hey!

I think compiling down to C code is soooo damn hot and simple. Never thought of that but with tincc it should be super fast...

One thing I want to share with you is the following tidbit, I always put some variation of this boot-loader as the first few lines of valid “C” in my script files:

#if 0
if [ -f /tmp/<hash-of-$0> ] ; then
   exec /tmp/<hash-of-$0>
else
   gcc ... && exec /tmp/<hash-of-$0>
fi
exit 111
#endif

See you around, hope like the idea...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions