Commit Graph

3 Commits

Author SHA1 Message Date
underscorediscovery
626a86fd6f chore: skip three io stdin tests on windows and mac to unblock 0.3.0 release
Add `// skip:` annotation to read_byte_eof.wren, read_line.wren, and read_line_eof.wren
to prevent test failures on non-linux platforms until the underlying issue is fixed.
2020-05-28 20:12:08 +00:00
Bob Nystrom
920b3e2a32 feat: implement string interpolation with %(expr) syntax in compiler and core library
Add lexer support for `TOKEN_INTERPOLATION` to split string literals at interpolation points, introduce `MAX_INTERPOLATION_NESTING` limit of 8, and compile interpolated strings by emitting calls to `String.interpolate_()`. Optimize list and map literal construction with new `addCore_` primitives to reduce stack churn. Update `String`, `List`, and `Map` `toString` methods in core library to use interpolation syntax, and migrate all benchmark and test files from explicit concatenation to interpolated strings.
2015-11-11 15:55:48 +00:00
Bob Nystrom
9e6f778147 feat: add Stdin class with readLine and async stdin read support in io module 2015-10-17 04:05:24 +00:00