-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
codegenCode generation matters (Coalton -> Lisp)Code generation matters (Coalton -> Lisp)enhancementNew feature or requestNew feature or requestlanguageperformancesyntax
Description
This tells Coalton to save the AST for future inlining. It might be a no-op now but it will be valuable as we try to scale Coalton up to larger code bases.
(inlinable)
(define (f x) ...)
I'm also open to other syntax, like
(inline :always) ; current INLINR
(inline :maybe) ; no equivalent, let the compiler decide if it thinks inlining is good
(inline :able) ; this proposal: INLINABLE
Or something like that.
Metadata
Metadata
Assignees
Labels
codegenCode generation matters (Coalton -> Lisp)Code generation matters (Coalton -> Lisp)enhancementNew feature or requestNew feature or requestlanguageperformancesyntax