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
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
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
Chad Stearns
6a34b9355c
reverted to original unique for List.map
2020-08-24 03:36:08 -04:00
Chad Stearns
ddc15fd2ea
Added some tests that should work some day
2020-08-24 03:35:25 -04:00
Richard Feldman
3c8c41c145
Clipster
2020-08-24 00:03:12 -04:00
Richard Feldman
181cf10d2c
Replace TagName::into_string with as_string
2020-08-24 00:03:12 -04:00
Richard Feldman
c5f5bb1bef
Use sorted field names for printing records
2020-08-24 00:03:12 -04:00
Richard Feldman
51c0180f45
Don't have formatter print parens in field types
2020-08-24 00:02:59 -04:00
Chad Stearns
4ea52c139d
List.map implementation
2020-08-23 19:35:21 -04:00
Chad Stearns
6232b31818
Comment out inc_dec in ir.rs
2020-08-22 19:48:08 -04:00
Chad Stearns
43bb4af2f4
Import listmap into build.rs
2020-08-22 19:47:59 -04:00
Chad Stearns
7c3e9809ca
Put List.map tests under main
2020-08-22 19:47:29 -04:00
Chad Stearns
4d1945d062
Put List.map tests under main
2020-08-22 19:47:12 -04:00