Skip to content

Add --boot=<filename> flag for configurable REPL boot file#1364

Closed
dnezam wants to merge 1 commit intomasterfrom
configurable-repl-boot-file
Closed

Add --boot=<filename> flag for configurable REPL boot file#1364
dnezam wants to merge 1 commit intomasterfrom
configurable-repl-boot-file

Conversation

@dnezam
Copy link
Contributor

@dnezam dnezam commented Mar 25, 2026

Store the actual boot filename in Repl.nextString instead of a mode tag, allowing init_readNextString to use it directly. Defaults to repl_boot.cml or candle_boot.ml (with --candle), but can be overridden via --boot=.

Store the actual boot filename in Repl.nextString instead of a mode
tag, allowing init_readNextString to use it directly. Defaults to
repl_boot.cml or candle_boot.ml (with --candle), but can be overridden
via --boot=<filename>.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dnezam
Copy link
Contributor Author

dnezam commented Mar 25, 2026

I realized this doesn't help me much because config_enc_str.txt is hardcoded as well.

@dnezam dnezam closed this Mar 25, 2026
@myreen
Copy link
Contributor

myreen commented Mar 25, 2026

What is it you are trying to achieve? We should really bundle config_enc_str.txt directly into cake.S, because if you use the wrong one then all bets are off.

@dnezam dnezam deleted the configurable-repl-boot-file branch March 25, 2026 12:12
@dnezam
Copy link
Contributor Author

dnezam commented Mar 25, 2026

I mainly want to be able run cake binaries without being forced to have files such as config_enc_str.txt or candle_boot.ml in the current working directory.

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.

2 participants