programdemos/hello-library.xtl

Hello library: a program using two libraries of its own, userlibs/Hello.xtl and userlibs/Greetings.xtl. Run it from the repository's root with "xetal run demos/hello-library.xtl" (or "./demos/hello-library.xtl"); it prints a greeting and two personal greetings. Read the imports for how u_se< finds a library: "Hello" is Hello.xtl beside this file, then in userlibs/, then on XETAL_PATH, then among the standard libraries; the string on its left is the prefix the library's l: names get here.

source · imports hi: userlibs/Hello.xtl; g: userlibs/Greetings.xtl