[Timber] Timber Source code Developer documentation

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


actually I think I this is generated from the "POSIX.t" timber file... ok,
I would just need the documentation / hackers guide now... :-) please let
me know if any such info is available...

Else will walk through the code and see if I can figure things out!

Thanks.

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

> 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/c62f6b61/attachment.html>


More information about the Timber mailing list