9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: smiley@zenzebra.mv.com
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames
Date: Sat, 30 Apr 2011 22:34:03 +0000	[thread overview]
Message-ID: <86y62r9xno.fsf@cmarib.ramside> (raw)
In-Reply-To: <33F21281-6959-49EB-91E6-2906EC606483@9srv.net> (Anthony Sorace's message of "Sat, 30 Apr 2011 02:26:03 -0400")

Anthony Sorace <a@9srv.net> writes:

> because it's a huge amount of work. there's a whole pile of standards and
> pseudo-standards to deal with, the set is ever-growing, the components are
> ever-growing, and there isn't really a good definition of "correct".

Perhaps there's a "Plan 9" way to approach the problem which might
involve a "less-huge" amount of work.

Suppose the functionality of each component of the web browser
architecture were specified with a domain-specific language (DSL).
Take, for example, CSS.  Translate the English human-readable CSS
standards into a CSS DSL.  Then, write a compiler to compile the
constraints specified in the CSS DSL into C code that can be compiled
with 8c.  Then, when the standard is updated, when a special case needs
to be added, or when a bug is found, that info would be added to the CSS
specification written in the CSS DSL.  Recompile to C, compile to
binary, and you're up to date.  That way, the whole specification
doesn't need to be implemented directly in $language, and
updates/modifications don't require additional, tedious, coding.

This approach would require a DSL to be created for each of the
components of the architecture: HTML, CSS, script, DOM; and a compiler
would need to be written to convert each DSL into C.

Now, here's the question: Would an apprach using specifications in
domain-specific languages be easier or harder than porting an existing
engine to 9?

--
+---------------------------------------------------------------+
|E-Mail: smiley@zenzebra.mv.com             PGP key ID: BC549F8B|
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+



  parent reply	other threads:[~2011-04-30 22:34 UTC|newest]

Thread overview: 160+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26 18:08 [9fans] " smiley
2011-04-26 18:42 ` Rob Pike
2011-04-26 18:44   ` erik quanstrom
2011-04-26 18:52   ` dexen deVries
2011-04-26 19:31     ` Rob Pike
2011-04-26 19:35       ` Paul Lalonde
2011-04-27 13:10       ` Digby Tarvin
2011-04-27 13:16         ` erik quanstrom
2011-04-27 13:21         ` Steve Simon
2011-04-28  9:58           ` Peter A. Cejchan
2011-04-28 12:11             ` [9fans] spaces in filenames (and filesystems...) Digby Tarvin
2011-04-28 12:35               ` [9fans] portable filesystem (was: spaces in filenames (and filesystems...)) dexen deVries
2011-04-28 13:42                 ` [9fans] portable filesystem (was: spaces in filenames (and Richard Miller
2011-04-28 14:00                 ` [9fans] portable filesystem (was: spaces in filenames (and filesystems...)) Digby Tarvin
2011-04-28 14:13                   ` dexen deVries
2011-04-28 15:35                     ` [9fans] portable filesystem smiley
2011-04-28 15:38                     ` [9fans] portable filesystem (was: spaces in filenames (and filesystems...)) Digby Tarvin
2011-04-28 14:18                   ` dexen deVries
2011-04-29 13:30               ` [9fans] spaces in filenames (and filesystems...) Ethan Grammatikidis
2011-04-29 14:00                 ` erik quanstrom
2011-04-29 15:06                   ` Ethan Grammatikidis
2011-04-29 15:17                     ` erik quanstrom
2011-04-29 19:17                       ` Ethan Grammatikidis
2011-04-30  1:09                         ` erik quanstrom
2011-04-30  2:50                           ` smiley
2011-04-30  2:55                             ` andrey mirtchovski
2011-04-26 18:43 ` [9fans] spaces in filenames erik quanstrom
2011-04-27  2:30   ` smiley
2011-04-27  2:39     ` erik quanstrom
2011-04-28 15:10       ` [9fans] Compiling 9atom kernel WAS: " smiley
2011-04-28 15:30         ` erik quanstrom
2011-04-28 16:16           ` smiley
2011-04-28 16:21             ` erik quanstrom
2011-04-28 17:23               ` smiley
2011-04-28 17:35                 ` andrey mirtchovski
2011-04-28 18:20                   ` ron minnich
2011-04-28 18:50                     ` Brian L. Stuart
2011-04-28 19:19                       ` Jeff Sickel
2011-04-28 19:29                       ` dexen deVries
2011-04-28 19:39                         ` erik quanstrom
2011-04-29  2:00                           ` errno
2011-04-29  3:03                             ` erik quanstrom
2011-04-29  6:11                               ` errno
2011-04-29  6:34                                 ` andrey mirtchovski
2011-04-29  9:18                               ` Charles Forsyth
2011-04-29  9:12                                 ` dexen deVries
2011-04-29  9:44                                   ` Charles Forsyth
2011-04-29  9:44                                   ` tlaronde
2011-04-29  9:54                                     ` dexen deVries
2011-04-29 13:56                                       ` Jeff Sickel
2011-05-05  9:54                                         ` Greg Comeau
2011-05-08 18:27                                           ` tlaronde
2011-05-08 20:51                                             ` Mathieu Lonjaret
2011-05-09 16:54                                               ` tlaronde
2011-05-09 17:10                                                 ` Wes Kussmaul
2011-05-10  8:34                                                   ` hiro
2011-05-10 12:27                                                     ` andrey mirtchovski
2011-05-13  8:40                                                       ` Akshat Kumar
2011-05-13 10:14                                                         ` hiro
2011-05-13 13:30                                                         ` Wes Kussmaul
2011-05-10 13:47                                                     ` Daniel Lyons
2011-05-12 18:40                                                       ` Wes Kussmaul
2011-05-10 17:56                                                     ` Wes Kussmaul
2011-05-12 22:22                                                       ` hiro
2011-05-10 21:47                                                     ` John Floren
2011-05-08 21:34                                             ` Comeau At9Fans
2011-05-09  4:53                                             ` Lucio De Re
2011-04-29  3:11                             ` andrey mirtchovski
2011-04-29  5:27                             ` ron minnich
2011-04-29  9:04                               ` Charles Forsyth
2011-04-29 10:19                                 ` errno
2011-04-29 12:21                                   ` Jacob Todd
2011-04-30  4:05                                     ` errno
2011-04-30  4:22                                       ` errno
2011-04-30  6:26                                       ` Anthony Sorace
2011-04-30  8:16                                         ` errno
2011-04-30  8:25                                           ` Steve Simon
2011-04-30  9:48                                             ` errno
2011-05-05  9:55                                             ` Greg Comeau
2011-04-30 12:18                                           ` Ethan Grammatikidis
2011-04-30 22:21                                           ` smiley
2011-04-30 23:20                                             ` errno
2011-04-30 23:33                                               ` Lyndon Nerenberg
2011-05-01  0:12                                                 ` errno
2011-05-01  0:16                                                   ` Lyndon Nerenberg
2011-05-01 23:56                                           ` blstuart
2011-05-02  0:00                                             ` erik quanstrom
2011-05-02  1:42                                             ` errno
2011-05-02  1:44                                               ` erik quanstrom
2011-05-02  2:29                                                 ` errno
2011-05-02  2:38                                                   ` erik quanstrom
2011-05-02  3:11                                                     ` errno
2011-05-02  3:15                                                       ` erik quanstrom
2011-05-02  4:09                                                         ` errno
2011-05-02  3:39                                                       ` ron minnich
2011-05-02  4:05                                                         ` Steve Simon
2011-05-02 10:38                                                   ` Salman Aljammaz
2011-05-02 11:46                                                     ` errno
2011-05-02 16:29                                                       ` Charles Forsyth
2011-05-02 16:48                                                         ` dexen deVries
2011-05-02 11:51                                                     ` Charles Forsyth
2011-05-02 13:54                                           ` Jack Norton
2011-05-02 14:45                                             ` Anthony Sorace
2011-05-02 16:16                                             ` Charles Forsyth
2011-05-05 12:33                                           ` Greg Comeau
2011-05-05 12:48                                             ` erik quanstrom
2011-05-06  4:23                                             ` Lucio De Re
2011-05-06  4:35                                               ` ron minnich
2011-05-06  6:45                                                 ` errno
2011-05-06  7:08                                                   ` ron minnich
2011-05-06  7:35                                                     ` errno
2011-05-06 15:45                                                     ` Bakul Shah
2011-05-06 15:59                                                       ` John Floren
2011-05-06 16:47                                                         ` Bakul Shah
2011-05-06 16:11                                                       ` tlaronde
2011-05-06 12:07                                                   ` Lucio De Re
2011-05-06 16:07                                                     ` [9fans] freedom (was Re: Compiling 9atom kernel) errno
2011-05-06 16:29                                                       ` Jack Norton
2011-05-06 17:38                                                         ` errno
2011-05-07  0:06                                                       ` errno
2011-05-07  5:01                                                       ` Lucio De Re
2011-05-07  7:36                                                         ` Daniel Lyons
2011-05-16 15:02                                                         ` Steve Simon
2011-05-06  7:08                                                 ` [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames errno
2011-05-06  7:11                                                   ` ron minnich
2011-05-06 12:59                                                   ` erik quanstrom
2011-05-06 16:06                                                     ` errno
2011-05-06 17:30                                                       ` erik quanstrom
2011-05-06 22:32                                                     ` Comeau At9Fans
2011-05-06 22:57                                                       ` andrey mirtchovski
2011-05-06 23:18                                                       ` errno
2011-05-06 23:49                                                         ` Comeau At9Fans
2011-05-06 23:47                                                       ` errno
2011-05-06 23:56                                                         ` Comeau At9Fans
2011-05-07  0:22                                                           ` errno
2011-05-07  0:12                                                         ` Lyndon Nerenberg
2011-05-07  0:43                                                           ` errno
2011-05-06 13:15                                                 ` erik quanstrom
2011-04-30 22:34                                         ` smiley [this message]
2011-04-30 22:45                                           ` Lyndon Nerenberg
2011-05-01  6:54                                             ` dexen deVries
2011-05-05 12:33                                           ` Greg Comeau
2011-05-05 12:54                                             ` andrey mirtchovski
2011-05-05 20:30                                               ` Gorka Guardiola
2011-05-05 21:22                                                 ` Iruatã Souza
2011-05-06  5:20                                                   ` Skip Tavakkolian
2011-05-06  7:02                                                     ` Gorka Guardiola
2011-05-06  7:06                                                     ` errno
2011-05-05  9:55                                       ` Greg Comeau
2011-05-04 11:40                                     ` Greg Comeau
2011-04-29 12:32                                   ` erik quanstrom
2011-04-29 18:39                                   ` Iruatã Souza
2011-04-29  6:06                             ` Bakul Shah
2011-04-28 20:50                         ` Anthony Sorace
2011-05-04 11:40                       ` Balwinder S Dheeman
2011-05-04 11:56                         ` erik quanstrom
2011-04-28 18:33                 ` erik quanstrom
2011-04-29  4:31                   ` smiley
2011-04-29  4:35                     ` erik quanstrom
2011-04-28 19:27                 ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y62r9xno.fsf@cmarib.ramside \
    --to=smiley@zenzebra.mv.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).