Skip to content

Add support for reading files#167

Open
engboris wants to merge 1 commit intomasterfrom
fileio
Open

Add support for reading files#167
engboris wants to merge 1 commit intomasterfrom
fileio

Conversation

@engboris
Copy link
Owner

Add load-file macro to read a file in the same directory as the program being executed. Example of use:

(show (load-file "test.txt"))

if test.txt is a file in the same directory as the program and if it contains abc then the program will show ["a" "b" "c"].

Close #165

@engboris engboris added enhancement New feature or request syntax labels Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request syntax

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for file input/output

1 participant