Commit graph

6992 commits

Author SHA1 Message Date
Richard Feldman
e030ad3067
Add friendly.md and functional.md 2023-09-18 16:46:54 -05:00
Richard Feldman
3a1755d860
Drop an extraneous newline 2023-09-18 16:21:32 -05:00
Richard Feldman
b2f3163be8
Fix some repl tests 2023-09-18 16:09:17 -05:00
Richard Feldman
66a0958a06
Fix repl test 2023-09-18 15:26:26 -05:00
Richard Feldman
1f396871f9
Simplify repl tips 2023-09-18 15:26:09 -05:00
Richard Feldman
e6b9446755
Move WELCOME_MESSAGE to be cli-specific 2023-09-18 15:26:09 -05:00
Richard Feldman
0ab49454b3
Fix favicon on Safari 2023-09-18 15:26:09 -05:00
Richard Feldman
789090a514
Simplify some templatized links 2023-09-18 15:26:08 -05:00
Richard Feldman
d3ae8b719b
Fix some favicon stuff, autoformat www content 2023-09-18 15:26:08 -05:00
Anton-4
8194930dfb
Merge pull request #5819 from roc-lang/repl-changes
Remove the whole #val1 thing from repl
2023-09-18 19:45:47 +02:00
Folkert de Vries
3314079819
Merge pull request #5824 from roc-lang/aarch-function-preamble
AArch64 gen_num + gen_records tests
2023-09-18 18:08:00 +02:00
Richard Feldman
622951626f
Merge pull request #5818 from sekerez/Debug-dec-printing
Fix decimal-point number representation
2023-09-18 12:05:51 -04:00
Richard Feldman
61fb0f13b1
Merge pull request #5825 from sekerez/add-newline-for-partial-record-definition
Add newline for partial record definition
2023-09-18 12:03:56 -04:00
Brendan Hansknecht
aec135a269
Merge pull request #5820 from roc-lang/update-dec-docs
Update Dec docs some more
2023-09-18 02:56:39 +00:00
Richard Feldman
cd70fdc36b
Merge pull request #5800 from roc-lang/drop-is-null-term
Drop unused str.zig function
2023-09-17 20:09:48 -04:00
Richard Feldman
83587eca22
Don't say floats have less precision than Dec
It's more accurate to say they have issues with base-10.
In fact, very small floats can have *more* digits of precision
than Dec can!
2023-09-17 20:09:30 -04:00
Sekerez
b52ba99701 Add tests 2023-09-17 15:59:43 -04:00
Sekerez
6750b304d4 Add newline for partial record definition 2023-09-17 13:04:57 -04:00
Folkert
889e2f5026
remove overflow / adds / smulh logic
we do all overflow operations in zig
2023-09-17 18:03:36 +02:00
Folkert
dc179a1aa6
simplify moving with the scratch register we now have 2023-09-17 18:01:08 +02:00
Brendan Hansknecht
fb1db19dca
mono test 2023-09-17 09:00:01 -07:00
Folkert
dd12069013
ranges 2023-09-17 17:51:02 +02:00
Folkert
e4ddc39b63
another logical error 2023-09-17 17:45:32 +02:00
Folkert
a990fab16f
fix some bitshifts 2023-09-17 17:40:29 +02:00
Folkert
1a49076a30
bigger jumps with an extra register 2023-09-17 17:36:08 +02:00
Sekerez
a5b65cad03 Add whole number dec test 2023-09-17 11:25:56 -04:00
Folkert
a4df2cebfb
maybe do bigger negative loads/stores? 2023-09-17 16:44:05 +02:00
Folkert
dd732736e0
clippy 2023-09-17 16:26:39 +02:00
Folkert
f6e4aee10c
make dec checked tests clearer 2023-09-17 16:20:18 +02:00
Folkert
fca3c50240
irem/urem 2023-09-17 16:11:47 +02:00
Folkert
e0071e3265
do checked arithmetic using zig... 2023-09-17 15:48:15 +02:00
Folkert
c6593725df
improved implementation of checked arithmetic 2023-09-17 15:43:11 +02:00
Folkert
54732b5750
don't emit fmov xi, xi 2023-09-17 13:50:03 +02:00
Folkert
be9cfa7e4e
float str -> stur 2023-09-17 13:48:47 +02:00
Folkert
15d7775652
get shadow space right 2023-09-17 13:38:11 +02:00
Folkert
857c48c933
fix off by 16 2023-09-17 13:29:35 +02:00
Richard Feldman
074401fbdf
Remove the whole #var1 thing 2023-09-17 06:31:51 -04:00
Brendan Hansknecht
bde293db1b
remove duplicate export 2023-09-16 23:46:29 -07:00
Brendan Hansknecht
12223191be
update tests 2023-09-16 23:45:16 -07:00
Brendan Hansknecht
7a37a24e8c
clippy 2023-09-16 23:07:46 -07:00
Brendan Hansknecht
e270f36422
add wasm backend hooks 2023-09-16 23:05:12 -07:00
Brendan Hansknecht
346eb80bd1
add dec trig functions 2023-09-16 22:55:23 -07:00
Richard Feldman
cbbf04cb85
Update Dec docs 2023-09-17 01:22:40 -04:00
Richard Feldman
f4937e72cc
Try printing #val1 at end of previous line 2023-09-17 01:01:58 -04:00
Richard Feldman
ca33e4f64c
Try a different way of writing val1 2023-09-17 01:01:57 -04:00
Brendan Hansknecht
108d9a54e3
Switch Num.tan to a zig builtin
It should be able to share some work between sine and cosine to run faster.
2023-09-16 21:27:51 -07:00
Brendan Hansknecht
7986d6cdba
add benchmark for sin and asin 2023-09-16 21:27:21 -07:00
Isak
c5f93e3c54 Simplify Dec to_str implementation 2023-09-16 18:07:50 -04:00
Isak
426582906c Remove dbg statement 2023-09-16 17:52:32 -04:00
Isak
ec68d084e9 fix failing test 2023-09-16 17:52:04 -04:00