Building and running user programs
Closed this issue · 3 comments
samrat commented
Chapter 2 of the book provides several example programs, all of which seem to be user-level programs with a separate main
. In the book or in the code, I couldn't find any documentation/examples on how to run such a program.
Could you provide an example of how to do this?
samrat commented
I ended up "converting" the example programs into shell commands(ie. as xsh_* functions). Is there a better way to do this?
douglascomer commented
I ended up "converting" the example programs into shell commands(ie. as xsh_* functions). Is there a better way to go about this?
The examples are just to give the reader some idea about how to get started. It’s great that you converted them to shell commands. Now you’re ready to tackle something more substantial. :-)
Douglas Comer
samrat commented
Thanks :)