Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| util:baja [2010/02/26 14:23] – Links to util:scfg changed to util:scfg:index digitalman | util:baja [2018/06/29 21:41] (current) – Details about the include path env var/option and deprecation of Baja digital man | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Baja ====== | ====== Baja ====== | ||
| + | |||
| + | Baja is a Synchronet module compiler and BASIC-like language for creating programmable command shells and modules for Synchronet versions 2 and 3. | ||
| + | |||
| + | Most Synchronet [[custom: | ||
| + | |||
| + | **Note**:\\ | ||
| + | The // | ||
| + | |||
| + | ===== Source ===== | ||
| + | Baja source files ('' | ||
| + | |||
| + | Baja source files are normally stored in the Synchronet '' | ||
| + | |||
| + | ==== Includes ==== | ||
| + | |||
| + | Baja source files may include other source files (usually named '' | ||
| + | |||
| + | By forcing the Baja compiler to look in a different directory (e.g. '' | ||
| + | |||
| + | ===== Compiling ===== | ||
| + | |||
| + | Synchronet modules written "in baja", rely on the '' | ||
| + | |||
| + | Note: There is a corresponding [[util: | ||
| + | |||
| + | ===== Usage ===== | ||
| + | < | ||
| + | usage: baja [-opts] file[.src] | ||
| + | |||
| + | opts: -d display debug during compile | ||
| + | -c case sensitive variables, labels, and macros | ||
| + | -o set output directory (e.g. -o/ | ||
| + | -i set include directory (e.g. -i/ | ||
| + | -q quiet mode (no banner) | ||
| + | -p pause on error | ||
| + | </ | ||
| + | |||
| + | ==== Example ==== | ||
| + | |||
| + | To compile the Baja source file '' | ||
| + | baja default | ||
| + | |||
| + | |||
| + | ==== Trivia ==== | ||
| + | The marketing name " | ||
| + | |||
| ===== See Also ===== | ===== See Also ===== | ||
| - | * [[.:scfg:index|Utilities]] | + | * [[custom:Baja|Customization with Baja]] |
| + | * [[http:// | ||
| + | * [[.: | ||