Mike Gerwitz
1fc360bc1c
Copy all stylesheet namespaces during apply-gen
...
* src/transform/apply-gen.xsl: Copy /xsl:*/namespace::*
* test/transform/apply-gen.xspec: Add respective test
2016-07-05 00:04:44 -04:00
Mike Gerwitz
ae589865e3
{www.lovullo.com=>mikegerwitz.com} namespaces
2016-03-29 23:00:16 -04:00
Mike Gerwitz
31aa7fa111
`apply-gen' now ingores arity-overloaded functions
...
Rationale is provided in `apply-gen.xsl'.
2014-12-04 01:13:24 -05:00
Mike Gerwitz
bb9107c8c1
`apply-gen' now generates functions for partial applications
...
This is intended as a convenient shorthand:
```xml
<!-- these two are identical -->
<sequence select="f:apply( my:func(), $x, $y )" />
<sequence select="my:func( $x, $y )" />
```
2014-12-02 16:05:01 -05:00
Mike Gerwitz
bc871435fa
apply-gen now uses `f:make-ref'
...
We're essentailly macro-expanding the `f:make-ref' call. :)
2014-11-30 03:28:43 -05:00
Mike Gerwitz
8ba1f04147
Partial application initial development
...
No support yet for recursive partial applications; just a basic concept.
2014-11-27 01:11:14 -05:00
Mike Gerwitz
8a204534f0
*.{out=>apply} for test case apply-gen output
2014-11-24 11:08:24 -05:00
Mike Gerwitz
1c01e765a7
Delayed function nodes now wrapped in f:ref node
...
This primarily allows us to type check, but will also may it easy/performant
to query more complicated structures.
2014-11-24 11:07:25 -05:00
Mike Gerwitz
eb66c838c6
f:arity added for delayed functions
2014-11-22 00:17:01 -05:00
Mike Gerwitz
1cc2423662
apply-gen now properly handles multiple functions
2014-11-22 00:05:11 -05:00
Mike Gerwitz
81bec6714b
apply-gen application template generation added
2014-11-20 23:45:59 -05:00
Mike Gerwitz
4130b6cf4b
apply-gen now ignores nullary functions
2014-11-20 23:39:23 -05:00
Mike Gerwitz
04700086b1
apply-gen generated stylesheet contains version number (2.0)
2014-11-20 23:10:02 -05:00
Mike Gerwitz
c73f3a4e7c
apply-gen initial development
2014-11-20 22:22:28 -05:00