Richard Feldman
ad16aa61e9
Change linking back
2020-10-04 16:35:21 -04:00
Richard Feldman
d776798e32
Attempt to statically link hosts
2020-10-04 16:35:17 -04:00
Richard Feldman
9405eeeb06
Fix linux linking issues
2020-10-04 16:35:04 -04:00
Richard Feldman
841373edb2
Fix linker argument order
2020-10-04 16:35:04 -04:00
Richard Feldman
48570bceef
Update link.rs
2020-10-04 16:34:48 -04:00
Richard Feldman
34251f84db
Link macOS hosts
2020-10-04 16:34:32 -04:00
Richard Feldman
26dfa01205
Extract target triple and linking logic
2020-10-04 16:34:11 -04:00
Richard Feldman
1c06f3fee1
Don't special-case vendors in target strings
2020-10-04 16:34:01 -04:00
Richard Feldman
4ec16749a0
Use _ over # when exporting linkable symbols
2020-10-04 15:58:13 -04:00
Folkert
faa5b2c830
fix clippy's qualms
2020-10-04 00:20:13 +02:00
Folkert
c4b4cb013e
implement record update
2020-10-04 00:06:14 +02:00
Folkert
16ec417324
record update foundations
2020-10-03 21:44:25 +02:00
Folkert
c8e5acf142
code gen Accessor
2020-10-03 21:44:04 +02:00
Folkert
e9f5c1a73c
actually infer the size
2020-10-02 22:33:31 +02:00
Folkert
c00cd2f415
hook everything up in the gen tests
2020-10-02 21:04:42 +02:00
Folkert
05d1f28e83
add logic to generate/solve closure size constraints
2020-10-02 20:46:47 +02:00
Folkert
a0c6952258
fix problem in uniqueness inference
2020-10-02 01:08:37 +02:00
Folkert
2e1e87ad6a
add closure size variable
2020-10-02 00:53:02 +02:00
Richard Feldman
cc0fd32f27
Merge branch 'trunk' into str-refcount
2020-09-30 20:26:21 -04:00
Brendan Hansknecht
fc4f753914
Check the string is big and non-empty
2020-09-30 16:49:47 -07:00
Brendan Hansknecht
b02b25f41d
Support variable ptr sizes in string refcount
2020-09-30 15:17:29 -07:00
Brendan Hansknecht
a2069a88db
Merge branch 'trunk' into str-refcount
2020-09-30 15:12:17 -07:00
Folkert
a0538c815b
use RocList in tests
2020-09-30 22:13:59 +02:00
Folkert
d46fb7bfb6
fix bool tests
2020-09-30 21:49:33 +02:00
Brendan Hansknecht
1082d88b2b
Remove unused value from increment_refcount_ptr
2020-09-30 06:58:10 -07:00
Folkert
3d46d19585
round up malloc, but only sometimes
2020-09-30 15:57:53 +02:00
Folkert
95dffad073
WIP
2020-09-30 15:01:24 +02:00
Richard Feldman
2993d40b85
Don't support compiling to 128-bit targets
2020-09-30 08:23:44 -04:00
Brendan Hansknecht
46db0fd989
Properly size refcount based on system ptr size
2020-09-29 17:27:29 -07:00
Brendan Hansknecht
0c5beb59cb
Add refcount incrementing to big strings
2020-09-29 16:14:20 -07:00
Brendan Hansknecht
5c825209eb
Merge branch 'trunk' into leak-refcount
2020-09-28 20:39:30 -07:00
Brendan Hansknecht
f532a758d9
Add refcount decrementing to big strings
2020-09-28 20:32:32 -07:00
Pablo Hirafuji
ebdeecd5d2
Run cargo fmt [2]
2020-09-27 20:59:31 -03:00
Pablo Hirafuji
0c0f70aba0
Add more docs files and check def exposition
2020-09-27 20:41:51 -03:00
Pablo Hirafuji
d68d8b4347
Merge branch 'trunk' into feature/docs-read-parse-file
2020-09-27 19:41:47 -03:00
Pablo Hirafuji
aed612a75c
Load docs from files
2020-09-27 19:40:54 -03:00
Brendan Hansknecht
9e9552186e
Fix list refcount dec
2020-09-27 10:18:01 -07:00
Brendan Hansknecht
51e1cd61dd
Intentionally leak memory with 0 for refcount
...
A 0 value for refcount is the max and means leaked/read-only memory.
These values should never be incremented or decremented.
This changes also uses signed overflow when decrementing memory.
2020-09-27 09:34:51 -07:00
Brendan Hansknecht
3d6d5d1ad0
Switch refcount of 1 to be isize::MIN as usize
...
Also, adds helper methods for inc/dec of refcount.
2020-09-27 09:28:23 -07:00
Richard Feldman
47b1d45739
Check in builtins.bc
2020-09-26 23:59:10 -04:00
Richard Feldman
2626be4e39
Extract libm.rs into its own module
2020-09-26 23:57:40 -04:00
Richard Feldman
e55fba8aeb
Extract regenerate.sh script
2020-09-26 23:52:48 -04:00
Richard Feldman
6a82fb27f8
Regenerate builtins.bc
2020-09-26 23:17:03 -04:00
Jared Ramirez
5cafbcd5ad
Add Num.atan builtin
2020-09-26 19:00:51 -07:00
Folkert
f492800a28
recursive refcount on lists
2020-09-22 21:58:45 +02:00
Richard Feldman
94b1760965
Remove redundant variable
2020-09-21 21:27:39 -04:00
Richard Feldman
9381207f61
Clarify some comments
2020-09-21 21:26:56 -04:00
Folkert de Vries
2457042989
Merge branch 'trunk' into num-add-wrap-check
2020-09-21 23:58:05 +02:00
Folkert
9ac5533f80
final touchups
2020-09-21 23:57:05 +02:00
Folkert
515f717536
don't explicitly add filler bytes
...
leaving the memory undefined is fine
2020-09-21 23:55:05 +02:00