Skip to content

add relative-symbols output format - #249

Open
1Dr490n wants to merge 1 commit into
hlorenzi:mainfrom
1Dr490n:main
Open

add relative-symbols output format#249
1Dr490n wants to merge 1 commit into
hlorenzi:mainfrom
1Dr490n:main

Conversation

@1Dr490n

@1Dr490n 1Dr490n commented Jul 14, 2026

Copy link
Copy Markdown

To accommodate issue #239 I added a relative-symbols output format. This is equivalent to the symbols format, except that it lists the symbols relative to their parents:

// symbols.txt

test = 0x12
test.abc = 0xff
// relative-symbols.txt

test = 0x12
.abc = 0xff

This makes it possible to #include "relative-symbols.txt". This helps when you compile two programs separately but want one to call functions in the other, for example when you have a standard library and multiple programs using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant