From asp654 at gmail.com Sun Dec 6 01:03:55 2015 From: asp654 at gmail.com (asp imho) Date: Sat, 5 Dec 2015 17:03:55 -0800 Subject: [Timber] Timber Source code Developer documentation Message-ID: 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: From asp654 at gmail.com Sun Dec 6 01:43:57 2015 From: asp654 at gmail.com (asp imho) Date: Sat, 5 Dec 2015 17:43:57 -0800 Subject: [Timber] Timber Source code Developer documentation In-Reply-To: References: Message-ID: 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 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: From asp654 at gmail.com Sun Dec 6 01:49:01 2015 From: asp654 at gmail.com (asp imho) Date: Sat, 5 Dec 2015 17:49:01 -0800 Subject: [Timber] Timber Source code Developer documentation In-Reply-To: References: Message-ID: 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 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 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: