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

.NET 9 compiling #160

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

.NET 9 compiling #160

wants to merge 5 commits into from

Conversation

leppie
Copy link
Member

@leppie leppie commented Feb 23, 2024

Tracks #158

Currently on .NET 9 preview 3. Preview 4 will bring PDB support.

MS issue ref: dotnet/runtime#92975

Create file called net9.sls in build output dir:

(library (net9)
 (export test-1 test-2 test-3)
 (import (ironscheme))

 (define-syntax inter
   (lambda (x)
    #''((hello) (world))))

 (define (test-1) 'foo)    ; basic
 (define (test-2) (inter)) ; constants
 (define (test-3)          ; closure
   (let ((a 1))
     (lambda () a))))

Start IronScheme.Console with net9 target.

Run the following:

(import (net9))
(compile)

@leppie leppie self-assigned this Feb 23, 2024
@leppie leppie linked an issue Feb 23, 2024 that may be closed by this pull request
6 tasks
@leppie
Copy link
Member Author

leppie commented Apr 24, 2024

Everything hacked together. Compiling and bootstrapping works.

AppVeyor does not have .NET 9 SDK yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Implement precompiling libraries on .NET 9
1 participant