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

Use a plain Scheme file for the prelude #1

Open
acieroid opened this issue Oct 7, 2020 · 0 comments
Open

Use a plain Scheme file for the prelude #1

acieroid opened this issue Oct 7, 2020 · 0 comments
Labels
Enhancement New feature or request Low priority

Comments

@acieroid
Copy link
Member

acieroid commented Oct 7, 2020

Currently, the Scheme prelude is implemented as a map from names to their definitions (https://github.com/softwarelanguageslab/maf/blob/master/code/shared/src/main/scala/maf/language/scheme/primitives/SchemePrelude.scala). There is a duplication for the name (used once in the key of the map, once in the define part), and it's easy to mistype a name once.

Instead, if we could take the prelude from a plain .scm file, which can be assumed to have only a list of definitons, that could be avoided.
This should be a relatively simple change.

@jevdplas jevdplas added Enhancement New feature or request Low priority labels Jan 15, 2021
mehdisrkh added a commit to mehdisrkh/maf that referenced this issue Mar 17, 2023
mehdisrkh added a commit to mehdisrkh/maf that referenced this issue Mar 31, 2023
bramvdbogaerde pushed a commit to bramvdbogaerde/maf that referenced this issue Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Low priority
Projects
None yet
Development

No branches or pull requests

2 participants