rvcas
f995a07029
feat: Num.toStr
...
* add type for Num.toStr
* create new lowlevel
* delete types and Symbol for fromInt and fromFloat
* leave LowLevel::{StrFromFloat,StrFromInt}
* match on LowLevel::NumToStr and figure out the layout to decide
which build function to delegate to
2021-11-30 14:52:06 -05:00
Folkert
dc44eaac97
cleanup
2021-11-21 14:11:18 +01:00
Folkert
7d231f87cd
remove usize llvm gen
2021-11-21 13:24:53 +01:00
Folkert
123c963ff1
llvm build working
2021-11-21 00:23:59 +01:00
Theo Felippe
8d7c252fce
implemented Str.trimRight
2021-11-13 18:02:58 +00:00
Michael Downey
7e074d300e
cleaning up and adding comments
2021-11-09 14:37:31 -05:00
Michael Downey
1bc278d962
initial commit of Str.trimLeft
2021-11-09 14:25:24 -05:00
Kevin Sjöberg
491a480371
Implement Str.fromInt for any integer type
2021-11-06 14:55:27 +01:00
Dan Knutson
e7523ad41d
add Roc wiring
2021-10-25 20:22:37 -05:00
Folkert
018348bd83
make Str.fromUtf8 in-place
2021-10-03 12:13:17 +02:00
Kofi Gumbs
2f574ea75e
Remove extraneous .into()
2021-09-29 22:41:30 -04:00
Kofi Gumbs
b32a42f05a
Add Str.repeat builtin
2021-09-29 17:32:42 -04:00
Folkert
c0cfd6ac16
make conversion a cast again
2021-09-12 14:28:44 +02:00
Folkert
0b893eb972
remove alignment bump again
2021-09-12 14:01:41 +02:00
Folkert
93817a38e2
convert zig struct to roc record
2021-09-04 16:41:29 +02:00
Folkert
1d17a21d1f
higher alignment requirement on rocstr/roclist
2021-09-04 15:18:37 +02:00
Folkert
4990e543fa
make str/list C abi safe
2021-08-25 20:47:03 +02:00
Folkert
a4475b7544
make TestBase64 compile
2021-08-25 20:47:03 +02:00
Folkert
204e403275
allow 64-bit str in 32-bit mode
2021-08-24 17:00:02 +02:00
Joshua Hoeflich
ae38a0d3ff
Cargo fmt
2021-08-08 21:41:00 -05:00
Joshua Hoeflich
c00d400d85
Fixes merge conflict
2021-08-08 21:38:15 -05:00
Joshua Hoeflich
4231b340ee
Glue code working
2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6
Rename Str.toBytes to Str.toUtf8
2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c
s/CodePoint/CodePt/g
2021-08-07 21:46:20 -04:00
Folkert
899cbeabd7
fix extra ampersands
2021-07-29 17:32:08 +02:00
Folkert
af4ee51560
get rid of InPlace
2021-06-19 16:56:27 +02:00
Richard Feldman
57676057fa
Rename gen to gen_llvm
...
This way, we have gen_dev and gen_llvm representing the two
different compiler backends.
2021-06-06 07:56:47 -04:00