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

Custom code transformations #29

Open
njordhov opened this issue May 10, 2023 · 0 comments
Open

Custom code transformations #29

njordhov opened this issue May 10, 2023 · 0 comments

Comments

@njordhov
Copy link
Member

Clariform could support custom code transformations, like in this example:

(define-internal (something-internal)
 (ok true)
)

;; which then gets expanded as:

(define-public (something-internal)
 (begin
   (try! (is-dao-or-extension contract-caller))
   (ok true)
)

Suggested here:
https://discord.com/channels/1076608263983997008/1089945712944488458/1105172252154150973

@njordhov njordhov changed the title Custom transformations Custom code transformations May 10, 2023
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

No branches or pull requests

1 participant