Synchronet v3.17b-Win32 (install) has been released (Jan-2019).

New Synchronet YouTube channel

You can donate to the Synchronet project using PayPal.


This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
util:baja [2010/02/24 15:26]
digitalman created
util:baja [2018/03/01 12:20]
digital man old revision restored
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 command shells are currently written in Baja.
 +===== Source =====
 +Baja source files are plain ASCII text files (IBM CP437 characters may also be used). The Baja language is documented [[http://​​docs/​baja.html|here]].
 +===== Compiling =====
 +Synchronet modules written "in baja", rely on the ''​baja''​ utility to compile their "​source"​ into an "​executable"​ (interpretted) binary format (''​.bin''​ file).
 +Note: There is a corresponding [[util:​unbaja]] utility, created by [[person:​Deuce]],​ for decompiling Baja ''​.bin''​ files into somewhat readable (and modifiable) Baja source (''​.src''​) files.
 +===== 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/​sbbs/​exec)
 +       -i set include directory (e.g. -i/​sbbs/​exec)
 +       -q quiet mode (no banner)
 +       -p pause on error
 +==== Example ====
 +To compile the Baja source file ''​[[dir:​exec]]/​default.src''​ into the executable module ''​[[dir:​exec]]/​default.bin'',​ from the Synchronet ''​[[dir:​exec]]''​ directory, type:
 +  baja default
 +==== Trivia ====
 +The marketing name "​Baja",​ was coined by [[person:​Dr. Seuss]] and inspired by vacations at our father'​s house in [[wp>​Baja California]].
 ===== See Also ===== ===== See Also =====
-  * [[:util:​|Utilities]]+  * [[custom:Baja|Customization with Baja]] 
 +  * [[http://​​docs/​baja.html|Baja Language Reference]] 
 +  * [[.:​|Utilities]]

In Other Languages