[Timber] Timber Source code Developer documentation

asp imho asp654 at gmail.com
Sun Dec 6 01:43:57 UTC 2015


Also I see that we are using "POSIX.h" in env.c file... but could NOT find
POSIX.h in the source tar... is this auto-generated during compile time? if
so can someone point as to how it is generated?

Thanks.

On Sat, Dec 5, 2015 at 5:03 PM, asp imho <asp654 at gmail.com> wrote:

> Hi,
>
> I'm trying to understand the layout and design of the Timber language
> compiler.. could not find any documents on this.
>
>
> I see that in Execution.hs function passes compile time arguments to the
> compiler/linker
>
> linkO cfg clo r o_files
>
>                                        ++ " -DROOT=" ++ rootId ++ " "
>
>                                        ++ " -DROOTINIT=" ++ initId ++ " "
>
>
> and the main function in rts.c file: (is this the starting point of ANY
> Timber function) and from here we give the "start" (or ROOT) of the timber
> program at compile time?
>
>
> main() {
>
>     ROOTINIT();
>
>     envStart(ROOT);
> }
>
>
> is there a "Developers/ Hackers" document to timber? any pointers to
> great..
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/timber/attachments/20151205/1b705151/attachment.html>


More information about the Timber mailing list