Christophe Coevoet
5509f1c754
Implement support for sourceMapIncludeSources ( #62 )
2022-01-31 15:15:23 -08:00
Natalie Weizenbaum
21f0219157
Don't return a CompileFailure without a span ( #60 )
...
We weren't adding a span for a compile failure due to a path not being
found. There's no real source in this situation, so we just create an
empty span instead.
2021-12-29 17:18:10 -08:00
Natalie Weizenbaum
26127d8a00
Treat invalid function signatures as function errors ( #58 )
...
See sass/embedded-protocol#85
2021-12-29 15:00:16 -08:00
Natalie Weizenbaum
1cbb0c5417
Implement FileImporter ( #57 )
2021-12-15 23:40:10 +00:00
Natalie Weizenbaum
17f1e69a46
Report a better error message for an empty CompileRequest.Input.path ( #56 )
2021-12-14 23:43:35 +00:00
なつき
d2063513af
Implement --version flag for cli ( #53 )
...
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-09-02 00:33:09 +00:00
Natalie Weizenbaum
c80320f777
Set CompileSuccess.loaded_urls ( #50 )
2021-07-23 21:41:39 +00:00
Natalie Weizenbaum
c919db73aa
Support CompileRequest.quiet_deps and .verbose ( #48 )
...
Closes #44
2021-06-16 13:36:56 -07:00
Natalie Weizenbaum
f0501ec114
Reformat
2021-06-14 12:50:29 -07:00
Natalie Weizenbaum
49ef4c1121
Use the new enum names in the latest protocol version
2021-05-24 16:56:53 -07:00
Natalie Weizenbaum
93bc86f97a
Support non-nullability ( #40 )
2021-05-17 20:57:37 -07:00
Awjin Ahn
831e5e903e
Formatted alerts ( #35 )
2021-02-03 18:31:27 -08:00
Natalie Weizenbaum
2f4fb065d4
Handle CompileRequest.StringInput.importer ( #22 )
...
Partially addresses sass/embedded_protocol#37
2020-12-23 14:49:33 -08:00
Awjin Ahn
0cddc095b9
Support latest protocol updates ( #11 )
...
* Remove support for InboundMessage.FunctionCallRequest
Context: https://github.com/sass/embedded-protocol/issues/28
* Remove support for CanonicalizeResponse.file
Context: https://github.com/sass/embedded-protocol/issues/25
* Stub CompileRequest.Importer.fileImporterId support
2019-12-23 15:43:16 -08:00
Natalie Weizenbaum
03805ce1ce
Add support for first-class function value types ( #10 )
2019-11-11 13:36:13 -08:00
Natalie Weizenbaum
6b34ffd7f3
Add the ability to invoke functions ( #9 )
...
This doesn't yet support first-class function values.
2019-11-08 15:25:42 -08:00
Natalie Weizenbaum
95bb3aceb6
Add support for importers ( #8 )
2019-11-07 16:03:47 -08:00
Natalie Weizenbaum
ec05600af2
Emit LogEvents ( #6 )
2019-11-05 13:51:08 -08:00
Natalie Weizenbaum
3de78be2f0
Plug in the actual Sass compiler ( #5 )
...
This now supports real CompileRequest and CompileResponses, although
it's missing features like importers, custom functions, and source
maps.
2019-11-04 19:50:50 -08:00
Natalie Weizenbaum
7489d5796d
Add a very basic protocol dispatcher and a few tests
...
Currently this doesn't actually invoke the compiler, it just always
returns the expanded output for "a {b: c}".
2019-11-01 19:02:12 -07:00