[dylan-lang/opendylan] 6aa0cc: [dfmc-macro-expander] Use more specific fragment t...
GitHub <[email protected]>
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <558b80c443a38_18063fdb273612c0175e4@hookshot-fe3-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 6aa0cc4d531b31b4ef7fa3a9d8df5bdd77099b7a
https://github.com/dylan-lang/opendylan/commit/6aa0cc4d531b31b4ef7fa3a9d8df5bdd77099b7a
Author: Bruce Mitchener <[email protected]>
Date: 2015-06-24 (Wed, 24 Jun 2015)
Changed paths:
M sources/dfmc/macro-expander/template-back-end.dylan
Log Message:
-----------
[dfmc-macro-expander] Use more specific fragment types.
* sources/dfmc/macro-expander/template-back-end.dylan
(substitute-as-symbol,
substitute-spliced-as-symbol): Use <symbol-syntax-symbol-fragment>
instead of <symbol-fragment> as the latter will be an abstract
class soon. Given the syntax for symbol substitution in macros,
using the symbol syntax makes sense.
(make-literal-fragment on <character>): Use <character-fragment>
rather than <elementary-literal-fragment> for correctness. Also,
the latter will be abstract soon.
Commit: 559f4ddda3615a836f585c2446d3fee33b73078f
https://github.com/dylan-lang/opendylan/commit/559f4ddda3615a836f585c2446d3fee33b73078f
Author: Bruce Mitchener <[email protected]>
Date: 2015-06-24 (Wed, 24 Jun 2015)
Changed paths:
M sources/dfmc/reader/fragments.dylan
M sources/dfmc/reader/lexer.dylan
M sources/dfmc/reader/reader-library.dylan
Log Message:
-----------
[dfmc-reader] Add <float-fragment> and use it.
* sources/dfmc/reader/fragments.dylan
(<float-fragment>): New class.
* sources/dfmc/reader/lexer.dylan
(parse-fp-literal): Create and return a <float-fragment> rather
than a regular <number-fragment>. The latter will be abstract
soon.
* sources/dfmc/reader/reader-library.dylan
(module dfmc-reader): Export <float-fragment>.
Commit: 9d821b350b7d305acc138f35d17067197a0b0c2f
https://github.com/dylan-lang/opendylan/commit/9d821b350b7d305acc138f35d17067197a0b0c2f
Author: Bruce Mitchener <[email protected]>
Date: 2015-06-25 (Thu, 25 Jun 2015)
Changed paths:
M sources/dfmc/macro-expander/template-back-end.dylan
M sources/dfmc/reader/fragments.dylan
M sources/dfmc/reader/reader-library.dylan
Log Message:
-----------
[dfmc-reader,macro-expander] New <model-object-literal-fragment>.
Macro expansion pumps some compile-time values through fragments using
an <elementary-literal-fragment>. Here, we change to using a new fragment
type that is especially for this purpose.
* sources/dfmc/macro-expander/template-back-end.dylan
(make-literal-fragment on <object>): Create an <model-object-literal-fragment>
rather than a <elementary-literal-fragment>.
* sources/dfmc/reader/fragments.dylan
(<model-object-literal-fragment>): New class for when creating a literal fragment
where the type isn't currently specified.
* sources/dfmc/reader/reader-library.dylan
(module dfmc-reader): Export <model-object-literal-fragment>.
Commit: c4242a8c4a3831228ca9b4286ee869c0e683b499
https://github.com/dylan-lang/opendylan/commit/c4242a8c4a3831228ca9b4286ee869c0e683b499
Author: Bruce Mitchener <[email protected]>
Date: 2015-06-25 (Thu, 25 Jun 2015)
Changed paths:
M sources/dfmc/reader/fragments.dylan
Log Message:
-----------
[dfmc-reader] Clean up abstract adjective on literals.
For a variety of reasons (that have just been addressed in
previous commits), the class hierarchy of literal fragments
didn't have correct abstract adjectives on the class definitions.
* sources/dfmc/reader/fragments.dylan
(<elementary-literal-fragment>,
<boolean-fragment>,
<symbol-fragment>,
<number-fragment>,
<abstract-integer-fragment>): These classes are now abstract.
(<character-fragment>,
<string-fragment>): Remove incorrect, commented out abstract
adjectives. These classes are not supposed to be abstract in
the current design.
Commit: 6547b507e60affda35edf81f4235c701077b78fc
https://github.com/dylan-lang/opendylan/commit/6547b507e60affda35edf81f4235c701077b78fc
Author: Peter S. Housel <[email protected]>
Date: 2015-06-24 (Wed, 24 Jun 2015)
Changed paths:
M sources/dfmc/macro-expander/template-back-end.dylan
M sources/dfmc/reader/fragments.dylan
M sources/dfmc/reader/lexer.dylan
M sources/dfmc/reader/reader-library.dylan
Log Message:
-----------
Merge pull request #930 from waywardmonkeys/abstract-literal-fragments
Abstract literal fragments
Compare: https://github.com/dylan-lang/opendylan/compare/0424c67b7084...6547b507e60a
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter