Commit Graph

16 Commits

Author SHA1 Message Date
Natalie Weizenbaum
8d7964e9be Add a compressed output style and pipe it through to the executable 2018-01-21 13:15:55 -08:00
Natalie Weizenbaum
1e09cec5aa
Split Value and its subtypes into public and private interfaces (#210) 2018-01-13 01:30:42 -08:00
Natalie Weizenbaum
8988c3c7fa Expose an API for defining custom Dart functions 2018-01-13 00:34:54 -08:00
Natalie Weizenbaum
74400dc4a4 Add asynchronous versions of several evaluation-related libraries
This allows us to support asynchronous importers and, eventually,
functions without breaking synchronous support. The copies were made
manually, but the eventual plan is to auto-generate the synchronous
versions by stripping all asynchrony from the async versions.

See #9
2017-12-01 14:29:11 -08:00
Natalie Weizenbaum
40bcf98e0c Add exports to importer.dart
This matches the APIs of other sub-directories.
2017-11-03 14:42:05 -07:00
Natalie Weizenbaum
a003e5c31f Expose a Dart API for importers
Closes #172
2017-10-12 21:54:58 -07:00
Natalie Weizenbaum
214a2af2e9 Fully support the return value for the Node render() functions (#165)
Closes #11
2017-07-09 14:52:14 -07:00
Natalie Weizenbaum
970755d82e Rename "render" to "compile"
"Render" is a strange term for compilation that kind of got copied
over from Haml and endured due to inertia.
2017-07-07 17:53:03 -07:00
Natalie Weizenbaum
8f836df66c Add support for the data option to the JS API (#159)
Also add renderString to the Dart API.

Partially addresses #7
2017-07-07 00:57:10 -07:00
Sam Rawlins
457a333727 Add indentType and indentWidth parameters (#136)
See #8
2017-06-02 15:42:22 -07:00
Natalie Weizenbaum
231a85be38 Improve Node file load speed. (#110) 2017-02-04 12:20:34 -08:00
Luis Vargas
cfc3a15041 Support package: URLs as a Dart library (#53) 2017-02-03 01:08:06 -08:00
Natalie Weizenbaum
d7caf7fbc1 Gracefully handle invalid UTF-8.
This will be even more graceful when dart-lang/sdk#28293 is fixed.
2017-01-06 21:31:29 -08:00
Natalie Weizenbaum
7b4d26cc5a Properly parse indented-syntax empty selectors.
Also warn about them.
2016-10-20 14:35:45 -07:00
Natalie Weizenbaum
38f15a96f3 Expose _PerformVisitor as a top-level function. 2016-10-15 14:31:21 -07:00
Natalie Weizenbaum
a2889e4a75 Start supporting public Dart and Node APIs. 2016-10-14 18:24:50 -07:00