Skip to content

Conversation

@mealet
Copy link
Owner

@mealet mealet commented Sep 24, 2025

🍀 Description

Version: v1.1.3
Related: #31

  1. Removed -l short flag for LLVM IR compilation (now only --llvm)
  2. Flag -i --include replaced with -l --link
  3. Added --object flag to compile source to object file (semantical main module checkers are disabled)
  4. Flag --llvm now avoids main module checkers
  5. Added ext visibility keyword to mark functions as external (this will add external linkage and avoid mangle)

Example:

ext fn add(a: i32, b: i32) i32 {
  return a + b;
}

@mealet mealet self-assigned this Sep 24, 2025
@mealet mealet linked an issue Sep 24, 2025 that may be closed by this pull request
@mealet mealet merged commit 7a39ec4 into master Sep 24, 2025
5 checks passed
@mealet mealet deleted the 31-add-object-compilation branch September 24, 2025 15:50
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.

Add object compilation

2 participants