* About seq in Tree-IL
@ 2018-05-27 13:15 Tommi Höynälänmaa
2018-05-29 21:53 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Tommi Höynälänmaa @ 2018-05-27 13:15 UTC (permalink / raw)
To: guile-devel
I use Tree-IL as an intermediate language for my own programming
language Theme-D and the generated Tree-IL files contain a huge nested
seq expression. Could we allow multiple toplevel expressions in a
Tree-IL file or have the Tree-IL begin expression back?
- Tommi Höynälänmaa
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: About seq in Tree-IL
2018-05-27 13:15 About seq in Tree-IL Tommi Höynälänmaa
@ 2018-05-29 21:53 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2018-05-29 21:53 UTC (permalink / raw)
To: Tommi Höynälänmaa; +Cc: guile-devel
Hi,
Tommi Höynälänmaa <tommi.hoynalanmaa@gmail.com> writes:
> I use Tree-IL as an intermediate language for my own programming
> language Theme-D and the generated Tree-IL files contain a huge nested
> seq expression. Could we allow multiple toplevel expressions in a
> Tree-IL file or have the Tree-IL begin expression back?
Tree-IL is designed to simplify code that analyzes it, which means
making it as simple as possible. Every redundancy in its representation
requires corresponding redundant code in _every_ instance of pattern
matching done on it, and there are a great many such instances in
module/language/tree-il/*.scm.
We could only justify such a redundancy if there were a *very*
compelling benefit. What is the benefit?
Regards,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-29 21:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-27 13:15 About seq in Tree-IL Tommi Höynälänmaa
2018-05-29 21:53 ` Mark H Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).