Ayaz Hafiz
ecaccdaac3
Update parse tests
2022-07-15 11:15:01 -04:00
Ayaz Hafiz
3ada644544
Format impls blocks
2022-07-15 11:14:49 -04:00
Ayaz Hafiz
85599e3a9a
Parse impl blocks in abilities
2022-07-15 11:06:44 -04:00
Ayaz Hafiz
d4d073d8c6
Rename Derived to HasAbility
2022-07-14 10:38:37 -04:00
Ayaz Hafiz
0946a7816a
Rename has_derived to has_abilities
2022-07-14 09:58:18 -04:00
Ayaz
a9243720da
Merge pull request #3496 from rtfeldman/derive-w-mono
...
Monomorphize and compile derived implementations
2022-07-14 07:45:21 -05:00
Folkert de Vries
cab1ec0be5
Merge pull request #3532 from rtfeldman/3504
...
Wrap opaque types in the repl with the appropriate opaque wrapper
2022-07-14 10:04:41 +02:00
Richard Feldman
a812369299
Merge pull request #3510 from rtfeldman/fix-loading
...
Fix some file loading bugs
2022-07-13 21:30:39 -04:00
Richard Feldman
da7c7ac5f2
Merge pull request #3525 from rtfeldman/3522
...
Num.toStr for f32, f64, Dec
2022-07-13 21:30:05 -04:00
Ayaz Hafiz
9b7950f765
Wrap opaque types in the repl with the appropriate opaque wrapper
...
Closes #3504
2022-07-13 17:46:04 -04:00
Ayaz Hafiz
b50974e4ee
Update zig tests
2022-07-13 17:20:47 -04:00
Richard Feldman
b734986fc8
Use config_shorthand of "" but never a shorthand of ""
...
This was breaking bindgen's ability to work on some platform modules.
2022-07-13 17:03:32 -04:00
Richard Feldman
77afe0c1f1
Merge pull request #3503 from rtfeldman/string-memory-problems
...
String memory problems
2022-07-13 15:17:28 -04:00
Richard Feldman
af39bc5369
Revert "Don't invent shorthands"
...
This reverts commit 8b6d55df01
.
2022-07-13 13:24:48 -04:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
...
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00
Richard Feldman
8b6d55df01
Don't invent shorthands
2022-07-13 12:42:43 -04:00
Ayaz Hafiz
980c3f1421
Use decimal formatting for float Num.toStr
2022-07-13 12:35:49 -04:00
Ayaz Hafiz
b7b9227675
Num.toStr Dec for wasm
2022-07-13 12:24:07 -04:00
Richard Feldman
2efb605d68
Update mono tests
2022-07-13 12:20:16 -04:00
Richard Feldman
e744cd2a33
gen capacity operations in LLVM
2022-07-13 12:19:38 -04:00
Richard Feldman
af14efea91
Fix some comments
2022-07-13 12:19:38 -04:00
Richard Feldman
55ca75a37f
Update wrapper docs
2022-07-13 12:19:38 -04:00
Richard Feldman
aad922251d
Use Builtin::WRAPPER_* in gen_wasm
2022-07-13 12:19:38 -04:00
Richard Feldman
25facfa9c6
Expose capacity builtins
2022-07-13 12:19:37 -04:00
Ayaz Hafiz
66b8d145a9
Support Num.toStr for dec
2022-07-13 12:13:21 -04:00
Ayaz Hafiz
b7c312d449
Support Num.toStr for f32, f64
2022-07-13 12:13:01 -04:00
Ayaz Hafiz
fe63140047
Clippy
2022-07-13 08:47:40 -04:00
Ayaz Hafiz
76f7843c93
Enforce some simplifications
2022-07-13 08:47:40 -04:00
Ayaz Hafiz
7ff180c1a5
Remove stale comments
2022-07-13 08:47:40 -04:00
Ayaz Hafiz
6413000579
Factor unloaded derived symbols check
2022-07-13 08:47:40 -04:00
Ayaz Hafiz
b782f013bd
Fix derive tests
2022-07-13 08:47:39 -04:00
Ayaz Hafiz
a7b06fd7cf
Remove various dbgs
2022-07-13 08:47:39 -04:00
Ayaz Hafiz
b61ffd3684
Add more test gen for derived impls
2022-07-13 08:47:39 -04:00
Ayaz Hafiz
df9bcb1a0c
Use Derived_synth for synthesizing implementations, and Derived_gen for codegen
2022-07-13 08:47:39 -04:00
Ayaz Hafiz
7c2e806a02
Make sure to clone lambda names in can/copy
2022-07-13 08:47:39 -04:00
Ayaz Hafiz
987ebfa9d3
Move expr copying to can
2022-07-13 08:47:39 -04:00
Ayaz Hafiz
63adb901b4
A couple hacks to get deriving of records working.. but it's working?
2022-07-13 08:47:38 -04:00
Ayaz Hafiz
801803d813
Make sure to union tag outcomes all the way
2022-07-13 08:47:38 -04:00
Ayaz Hafiz
719c774acf
Fix errors
2022-07-13 08:47:38 -04:00
Ayaz Hafiz
dd93b5bd51
Update mono tests
2022-07-13 08:47:38 -04:00
Ayaz Hafiz
8d90f2c13e
Fix some compile errors
2022-07-13 08:47:38 -04:00
Ayaz Hafiz
91e3bfbd01
Fix tests
2022-07-13 08:47:38 -04:00
Ayaz Hafiz
9a01117536
Fix compile errors
2022-07-13 08:47:37 -04:00
Ayaz Hafiz
9760462ec5
Ignore record deriving test for now
2022-07-13 08:47:37 -04:00
Ayaz Hafiz
9826253785
Deriving string encoders works
2022-07-13 08:47:37 -04:00
Ayaz Hafiz
a17748ea01
Wrap toEncoder derivers in Encode.custom for now
2022-07-13 08:47:37 -04:00
Ayaz Hafiz
6f9b3553e4
Add Encode.custom captures test
2022-07-13 08:47:37 -04:00
Ayaz Hafiz
445d922f3b
Compact lambda sets with structural derived ability impls
2022-07-13 08:47:37 -04:00
Ayaz Hafiz
9caa09b2c0
Include type, symbol header in derived goldens
2022-07-13 08:47:36 -04:00
Ayaz Hafiz
e940fed3a8
Store specialization lambda sets of derived ability impls
2022-07-13 08:47:36 -04:00