Rebuild from the REPL
- Run (ironscheme-build)
- Restart IronScheme
Rebuild from command-line
- Run echo (ironscheme-build) | IronScheme.Console
Building a debug build from the REPL
- Run (begin (debug-mode #t) (ironscheme-build))
- Restart IronScheme
Building a debug build from command-line
- Run echo (begin (debug-mode #t) (ironscheme-build)) | IronScheme.Console
Notes:
- only files in the build and psyntax directory are compiled into the bootfile.
- the above mentioned makes up mostly of R6RS and a few extra IronScheme-specific procedures.
- take care when making changes to the build system as this can break your IronScheme installation.
- if screwed, delete ironscheme.boot.dll and replace with the original installation file.
- for a base system, with only the compound (ironscheme) as well as all of (rnrs) libraries, only the 4 dll's are required.
- add IronScheme.Console.exe to run standalone. add libraries as needed.
Directory descriptions
buildContains the core IronScheme implementation of R6RS and a few additional procedures.
psyntaxContains the syntactic layer and module system for R6RS.
ironschemeContains all IronScheme libraries not compiled into the bootfile.
srfiContains all the SRFI's currently supported by IronScheme.
libMiscellaneous libraries supported by IronScheme.
testsContains various tests.
playgroundExperimental code.
Build process
- The current IronScheme system loads the psyntax libraries
- The entire content of build and psyntax is then expanded into an intermediary representation
- The intermediary code is then compiled to a .NET assembly (ironscheme.boot.new.dll)
- When IronScheme restarts, it will look for this file, and replace the existing ironscheme.boot.dll with the newer version
Note
- The previous successfully compiled is backed up in case of problem with new version.