Commit graph

143 commits

Author SHA1 Message Date
ayazhafiz
6ea7d63380 Make sure line offsets are generated properly for external programs
Closes #2329
2022-01-13 20:59:03 -05:00
Joshua Warner
82d2be0635 Introduce LineColumnRegion and force conversion 2022-01-01 18:20:05 -08:00
Brendan Hansknecht
8c6e5360cd Remove Cell around interns 2021-12-07 16:54:06 -08:00
Folkert
3291cc680e use Cell, remove threading of identids 2021-12-03 21:50:26 +01:00
Folkert
edf113513c add helper methods for layout -> string conversion in dev backend 2021-12-03 20:49:09 +01:00
Brian Carroll
e088eceb29 Generate refcounting procs in gen_dev 2021-12-02 15:41:09 +00:00
Brian Carroll
d0ef1e5b36 Route IdentIds to refcount proc generator in dev backend 2021-12-02 09:58:34 +00:00
Brian Carroll
820d9e0ab4 Register debug names for new Symbols, and refactor to avoid borrow-checker issues 2021-11-30 09:57:00 +00:00
Brian Carroll
e7d8c7c895 Make gen_wasm's Env mutable 2021-11-30 09:57:00 +00:00
Brian Carroll
ebc1fd6880 Get rid of special ModuleId for refcounting code 2021-11-30 09:57:00 +00:00
Brian Carroll
2ad032f894 Integrate refcount proc generator with Wasm backend 2021-11-30 09:57:00 +00:00
Brendan Hansknecht
a63dd1eb61 use unimplemented! and internal_error! instead of result in dev backend 2021-11-27 12:38:29 -08:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Brendan Hansknecht
868e9392b1 appease clippy 2021-11-04 22:04:23 -07:00
Brendan Hansknecht
d78b351798 cleanup targets and llvm config to properly progate and build with any subset of features 2021-11-04 21:48:04 -07:00
Folkert
5c02899535 oops 2021-10-20 23:52:51 +02:00
Folkert
5084fd533b only do type checing for roc check 2021-10-10 16:32:14 +02:00
Folkert
f1ec5c30d0 make things compile 2021-10-01 20:33:34 +02:00
Richard Feldman
a21ad7064c Ignore type errors that have already been reported 2021-09-18 08:24:46 -04:00
Folkert
2de9856576 add fibonacci example 2021-09-15 23:34:27 +02:00
Folkert
15fd312b6f hook up wasm and assembly dev backends 2021-09-15 20:53:00 +02:00
Folkert
c221225ed9 refactor 2021-09-15 20:05:57 +02:00
Richard Feldman
d6057eafb4 clippy 2021-09-13 20:06:38 -04:00
Richard Feldman
2cf551a634 Extract program::report_problems 2021-09-13 19:51:38 -04:00
Brendan Hansknecht
56dc278fae Merge branch 'trunk' into linker 2021-09-03 19:57:32 -07:00
Richard Feldman
5603e143ad
Merge pull request #1661 from rtfeldman/linux-32-bit
32-bit linux
2021-09-03 22:10:28 -04:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
2931427870 Merge remote-tracking branch 'origin/trunk' into linux-32-bit 2021-09-03 21:10:51 +02:00
Richard Feldman
3364ea00e0 Only print warnings if there are no errors 2021-09-02 22:24:48 -04:00
Richard Feldman
828c5191cf Print a horizontal rule after the last error 2021-09-02 21:59:13 -04:00
Folkert
cde8f5cbd4 optimize RC 2021-09-02 21:29:24 +02:00
Folkert
98c672bbde pipe target information through 2021-09-01 21:50:59 +02:00
Brendan Hansknecht
c1cae950e7 Fix linking with PIC 2021-08-28 15:24:02 -07:00
Brendan Hansknecht
c7f5793d2a Merge branch 'trunk' into linker 2021-08-28 15:15:17 -07:00
Brendan Hansknecht
379904fcc5 Make debug output and linking properly pic/pie. Remove non-pic relocation from linker 2021-08-27 23:21:48 -07:00
Folkert
541c56adb7 emit .bc to the right place in wasm + debug mode 2021-08-27 12:24:08 +02:00
Brendan Hansknecht
f0f37bfe03 Switch to PIC based linking 2021-08-25 22:46:15 -07:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Folkert
a12e18ca70 add roc_panic to all hosts 2021-08-16 22:46:00 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Joshua Hoeflich
43c0fa9b35 Fix typo 2021-08-11 21:33:12 -05:00
Joshua Hoeflich
c3879cf5be Extract constant; cargo clippy 2021-08-11 21:30:14 -05:00
Joshua Hoeflich
bfce144e8a Make llc discoverable on $PATH on more systems 2021-08-11 20:50:55 -05:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
5282dbf41a fix typo 2021-07-25 22:00:52 +02:00
Folkert
978cea4b8a passing tests 2021-06-28 22:28:47 +02:00