Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added conditional compilation #149

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

guillep
Copy link
Member

@guillep guillep commented Apr 23, 2024

Conditionally compiled code can be expressed as druidIf:do:

 	self druidIf: #condition do: [ ^ self pop: 1 thenPush: 17 ].

Compilation options can be added through addCompilerOption:

druid addCompilerOption: #condition

@guillep guillep merged commit fda1378 into Alamvic:main Apr 23, 2024
1 of 2 checks passed
@guillep guillep deleted the conditionalcompilation branch April 23, 2024 09:07
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