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

How can we best read from the Rascal boot directory? #869

Closed
PaulKlint opened this issue Oct 10, 2015 · 5 comments
Closed

How can we best read from the Rascal boot directory? #869

PaulKlint opened this issue Oct 10, 2015 · 5 comments

Comments

@PaulKlint
Copy link
Member

In order to create a stable an usable bootstrapped compiler we need a stable and accessible location for the compiled version and of all other tools we need. I have already created the following:

  • a directory boot in the Racal project (at the top level); it will contain essential boot files in a proper directory structure
  • a module lang::rascal::boot::Kernel that provides the essential interface and imports

My question: How can we best read from the boot directory?

One possibility is to create a new schema `boot'.

Any other suggestions?

@DavyLandman
Copy link
Member

I think the boot scheme is comparable to the std scheme. So that might be a reasonable solution.

@jurgenvinju
Copy link
Member

👍

@DavyLandman
Copy link
Member

I think you'll need to change build.properties to make sure the folder is included in the output. Not sure if that is enough for maven.

@PaulKlint
Copy link
Member Author

Maybe I will ask an expert to implement the boot scheme ;-)

Volunteers?

@DavyLandman
Copy link
Member

I think a look at: StandardLibraryURIResolver would inspire you ;) I expect the path to be /boot/ :)

Just remember to add the new resolver to resolvers.config file

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

No branches or pull requests

3 participants