Commit graph

1782 commits

Author SHA1 Message Date
Folkert
c1fdd0ea7b remove unused field 2020-09-04 23:09:05 +02:00
Folkert
b849a3019f reset reuse stuff 2020-09-04 23:07:45 +02:00
Folkert
f02d907f17 inc/dec for recursive unions; first pass 2020-09-04 23:07:27 +02:00
Richard Feldman
5eeb41d5c0 Add List.update and List.updater 2020-09-03 20:31:43 -04:00
Richard Feldman
0bdc7f2f74 Fix CLI underline character on Windows 2020-09-03 20:24:09 -04:00
Richard Feldman
d75b85998d Take some notes in some docs 2020-09-03 20:23:48 -04:00
Richard Feldman
453fc0e27c REVERT THIS! Temporarily break block strings.
Also disable some tests because trimming inputs
revealed some bugs I don't want to fix in this PR!
2020-08-31 23:22:10 -04:00
Richard Feldman
be0c8cd59b clipp-w clipp-x clipp-y 2020-08-31 23:22:10 -04:00
Richard Feldman
37a254cef3 Interpolate strings by desugaring to Str.concat
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
2e15443c8c Canonicalize unicode code point escapes 2020-08-31 23:13:50 -04:00
Richard Feldman
7682e09b0a Fix some fmt stuff 2020-08-31 23:13:50 -04:00
Richard Feldman
74c0bdfd5a Fix empty string parsing bug 2020-08-31 23:13:50 -04:00
Richard Feldman
5b27e10095 Reproduce empty string parsing bug 2020-08-31 23:13:50 -04:00
Richard Feldman
e9f71d09bb Monomorphize string interpolation 2020-08-31 23:13:50 -04:00
Richard Feldman
274e7e786d Constrain string interpolation 2020-08-31 23:13:50 -04:00
Richard Feldman
5080a7e24b Parse unicode escape sequences 2020-08-31 23:13:50 -04:00
Richard Feldman
b995ccef75 Parse string interpolations 2020-08-31 23:13:50 -04:00
Richard Feldman
e661ca7f2e Fix string literal parsing 2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Richard Feldman
70bef827a7 Change borrow signature for concat 2020-08-31 23:13:50 -04:00
Richard Feldman
d9a96c9c66 Simplify some pattern matching 2020-08-31 23:13:50 -04:00
Richard Feldman
f165cfc72d
Merge branch 'trunk' into error-message-tweak 2020-08-31 21:25:31 -04:00
Richard Feldman
58e9fa1255 Update formatting tests 2020-08-31 20:42:28 -04:00
Richard Feldman
c611f1dfe8 Tweak some error message reports 2020-08-31 20:37:37 -04:00
Richard Feldman
e6cbfb1567 Change "Hint" to "Tip" 2020-08-31 17:30:34 -04:00
Chadtech
2ae63c87d6
Update compiler/mono/src/layout.rs
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2020-08-31 17:02:02 -04:00
Folkert
75ceb9e843 properly find the live variables 2020-08-31 20:00:02 +02:00
Folkert
f9cf4ea371 recursive tag unions 2020-08-31 14:29:09 +02:00
Chad Stearns
b02f8af37e Complete implementation of List.keepIf, that is currently not passing tests 2020-08-30 21:29:14 -04:00
Chad Stearns
8b31419b2c Merge in remote 2020-08-30 15:38:43 -04:00
Chad Stearns
6b351d0375 Comply with clippy 2020-08-29 23:14:32 -04:00
Chad Stearns
08dba946e6 Use struct parameter 2020-08-29 23:03:56 -04:00
Chad Stearns
379235fd7e Improved comment 2020-08-29 22:44:56 -04:00
Chad Stearns
257cb88511 Added name parameter to non_emptylist_function 2020-08-29 22:31:14 -04:00
Chad Stearns
f2a8065adc Moved over to incrementing_elem_loop from incrementing_index_loop 2020-08-29 21:56:52 -04:00
Chad Stearns
dedbd5b3bd partial work on using if_non_empty in list_map 2020-08-29 20:01:17 -04:00
Chad Stearns
a83891011d if_non_empty helper function 2020-08-29 19:56:55 -04:00
Chad Stearns
a0a00d3521 Store list helper function 2020-08-29 19:56:42 -04:00
Chad Stearns
d0587fa92c Commented in some quick sort tests 2020-08-29 17:46:27 -04:00
Chad Stearns
8547b7de89 Commented in first_empty_list_test 2020-08-29 17:41:12 -04:00
Chad Stearns
01b3d2cf61 broke up list_prepend_tests 2020-08-29 17:41:03 -04:00
Chad Stearns
b3ce6041a3 Split List.join and List.concat 2020-08-29 16:56:35 -04:00
Chad Stearns
195925d993 Removed 'main = \_ ->' from List.map tests, since they were to work around a bug, and also split list_map and list_append tests into separate tests 2020-08-29 16:30:54 -04:00
Chad Stearns
30046d1ad4 basic List.keepIf set definition, but no implementation 2020-08-29 15:47:11 -04:00
Folkert
73bb8e58c5 List.map: set calling convention explicitly 2020-08-27 00:34:57 +02:00
Folkert
020b6154f9 fix passing functions by name 2020-08-26 23:34:49 +02:00
Folkert
c51345ac8b Merge remote-tracking branch 'origin/trunk' into list-map 2020-08-26 15:30:30 +02:00
Richard Feldman
2dc1f62d02 Start of Str implementation and docs 2020-08-24 21:45:45 -04:00
Chadtech
3690977e57
Merge branch 'trunk' into list-map 2020-08-24 03:36:39 -04:00
Chad Stearns
27ef81df58 Commented back in ir.rs lines 2020-08-24 03:36:20 -04:00