Skip to content

Add comments - #3

Merged
QuickWrite merged 2 commits into
mainfrom
2-add-comments
Sep 1, 2025
Merged

Add comments#3
QuickWrite merged 2 commits into
mainfrom
2-add-comments

Conversation

@QuickWrite

Copy link
Copy Markdown
Owner

This pull request add the feature that comments can now be added.

The syntax of the comments can be specified through a setting called comment:

localasm=LuASM:new(instructions, {
comment=";.*$"
})

This will now allow for comments like this:

start: mov10r0 ; Thisisacommentaddr0r1jmpstart

Closes#2

@QuickWriteQuickWrite self-assigned this Sep 1, 2025
@QuickWriteQuickWrite added the enhancement New feature or request label Sep 1, 2025
@QuickWriteQuickWrite linked an issue Sep 1, 2025 that may be closed by this pull request
@QuickWrite

Copy link
Copy Markdown
OwnerAuthor

Looks good to me.

@QuickWrite
QuickWrite merged commit 18fe18f into mainSep 1, 2025
1 check passed
@QuickWrite
QuickWrite deleted the 2-add-comments branch September 1, 2025 18:14
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add comments

1 participant

@QuickWrite