Jakub Konka
32b9274dad
refactor collect_roc_definitions for MachO
...
I don't think we need to check for '@' in symbol naming as versioning
is not done on a symbol level for MachO as far as I remember (unlike for
Linux).
2024-12-28 10:04:38 +01:00
Jakub Konka
f847770f6e
abstract away logic for finding symbol by index
...
I am still not quite sure what exactly I am looking at in this function
but this will have to do for now.
Assuming this function, aka `get_target_offset`, is correct, implement
handling of `RelocationKind::Absolute` which for now assume is `UNSIGNED`
and pointer sized.
2024-12-28 10:04:38 +01:00
Jakub Konka
14ad642296
object::macho forces us to handle MachO relocs low-level
2024-12-28 10:04:38 +01:00
Jakub Konka
322366bab3
save generated app_data to an object file
2024-12-28 10:04:36 +01:00
Luke Boswell
f7dbf850b9
Merge pull request #7409 from joshuawarner32/fuzzing-bugs-5
...
Fix another batch of parsing/formatting bugs found in fuzzing
2024-12-28 17:36:03 +11:00
Ian McLerran
7c611c2372
fix single character string constant
2024-12-27 11:37:29 -06:00
Ian McLerran
58c59ead19
Fix links generated for any submodules
2024-12-27 11:22:56 -06:00
Sam Mohr
3c49462fdd
Merge pull request #7406 from gamebox/issue-7089
...
Issue 7089: ?? operator
2024-12-27 10:15:53 -05:00
Sam Mohr
b0d1d16db6
Merge pull request #7412 from gamebox/issue-7407
...
#7407 : Register package dependent packages
2024-12-26 10:26:51 -08:00
Anthony Bullard
d0ec7e2762
Add unit test
2024-12-26 10:56:48 -06:00
Anthony Bullard
8a726d23ed
DRY up code
2024-12-26 10:56:18 -06:00
Anthony Bullard
2a8765c1e9
#7407 : Register package dependent packages\n\nCloses #7407
2024-12-26 10:56:18 -06:00
Anthony Bullard
7433ad63b6
Fix precendence
2024-12-26 10:53:47 -06:00
Anthony Bullard
03641c16f8
Fix unit tests
2024-12-26 10:53:47 -06:00
Anthony Bullard
9a76a8d2ce
Add snapshot test
2024-12-26 10:53:47 -06:00
Anthony Bullard
c70ceb4f98
Issue 7089: ?? operator
2024-12-26 10:53:47 -06:00
Sam Mohr
87fb90660f
Remove broken docs example for Task.batch
2024-12-25 12:30:43 -08:00
Sam Mohr
2b6eaf48d8
Add Task.combine
2024-12-25 11:57:35 -08:00
Joshua Warner
ee3619f016
Merge branch 'main' into fuzzing-bugs-5
2024-12-25 09:03:11 -08:00
Joshua Warner
9d3f232794
Switch to something that won't trigger the panic detector
2024-12-25 09:33:19 -05:00
Joshua Warner
2464ce6856
Fix formatting issue with closures hiding in unary ops
2024-12-24 15:05:20 -05:00
Joshua Warner
8f0566a55f
Fix crash with doubly-nested parens in patterns
2024-12-24 14:08:52 -05:00
Joshua Warner
941c6c4fe3
Fix exponential behavior in parsing function types in tuples
2024-12-24 11:20:36 -05:00
Jared Ramirez
9f63cbbc79
Merge branch 'roc-lang:main' into bool-to-num
2024-12-24 07:10:57 -08:00
Jared Ramirez
7daa008a9a
Add Num.fromBool
2024-12-24 10:10:20 -05:00
Joshua Warner
f1f6cb4625
Add function type test
2024-12-23 14:34:42 -05:00
Joshua Warner
9499dcec4b
Disallow implements even with spaces around it
2024-12-23 14:34:41 -05:00
Joshua Warner
787fec6b3f
Fix issue with multibackpassing in closure in binop
2024-12-23 14:34:38 -05:00
Luke Boswell
0bf249afcb
Merge pull request #7398 from gamebox/docs-better-tablet
...
A few docs improvements
2024-12-22 15:09:51 +11:00
Joshua Warner
a0f828fa57
Don't minimize malformed parses by default
2024-12-21 20:14:19 -05:00
Joshua Warner
512be85f9a
Fix parens around as in tag union
2024-12-21 20:14:19 -05:00
Joshua Warner
7ba5135602
Fix as in apply type
2024-12-21 20:14:19 -05:00
Joshua Warner
bab5e65480
Fix case of expr in binop that ends in closure, when it doesn't start on a new line
2024-12-21 20:14:18 -05:00
Joshua Warner
769baa9f63
Add indent call after when's if
2024-12-21 20:14:18 -05:00
Joshua Warner
ad1e3369c5
Disallow expect! as an identifier
2024-12-21 20:14:18 -05:00
Joshua Warner
249125297e
Add missing indent call
2024-12-21 20:14:15 -05:00
Anthony Bullard
ccc7071842
Better tablet layout, and syntax highlighted signatures
2024-12-21 08:59:46 -06:00
Anton-4
1bae24b3ea
bitcode build fix ( #7394 )
...
* new broader workaround
2024-12-20 11:38:56 -08:00
Anthony Bullard
9161de8e1f
Better tablet support for docs
2024-12-20 05:15:47 -06:00
Anthony Bullard
c9a1ca84b4
Merge pull request #7377 from gamebox/new-docs-template
2024-12-18 18:45:39 -06:00
Anthony Bullard
43a3dfe374
Fix dark mode syntax highlighting
2024-12-18 16:37:05 -06:00
Anthony Bullard
0cb8de5d67
Final A11y fixes and feedback
2024-12-18 08:46:53 -06:00
Sam Mohr
97ab13e11b
Merge pull request #7362 from normanjaeckel/FixMissingNewline
...
Add missing newline to roc check command.
2024-12-17 18:53:03 -08:00
Anton-4
c89dccb6f4
Merge pull request #7386 from roc-lang/examples-and-testing
...
fix nightly testing + updates
2024-12-17 20:18:50 +01:00
Anton-4
2c929c25e3
Merge pull request #7384 from gamebox/fix-snake-case-formatting
...
Fix snake case formatting
2024-12-17 14:41:41 +01:00
Anton-4
17960d1154
fix nightly testing + updates
2024-12-17 14:17:21 +01:00
Anton-4
5178c2a99c
Merge pull request #7382 from kukimik/patch-3
...
Highlight current :target entry name (#7299 )
2024-12-17 14:03:07 +01:00
Anthony Bullard
76b61e6c55
Working towards a new color palette
2024-12-17 05:53:15 -06:00
Anthony Bullard
04029d36de
A few fixes
2024-12-17 05:53:15 -06:00
Anthony Bullard
11e736f3e8
New docs template
2024-12-17 05:53:13 -06:00