I have a Common Lisp program that reads data from a S-expression file. Originally the program was intended to be written in C with a CSV file that was parsed into a struct in-memory, but I switched to Common Lisp and S-expressions to remove abstractions between programmer and user. If I have a struct defined in program.lisp as such:
(defstruct flashcard
front
back
)
Run Code Online (Sandbox Code Playgroud)
...and a file data.lisp:
(:virology
(
(:card
:front "To what sort of cells does Epstain-Barr …Run Code Online (Sandbox Code Playgroud)