The OpenBUGS Source Code
The Component Pascal source code of WinBUGS is organised in a number of subsystems. See the Developer Manual for details. The links below display the files in each subsystem. Individual files can be downloaded and then opened from within WinBUGS (remember to select html for the file type in the File open dialog). The Component Pascal compiler is able to directly compile from a window containing an open html source code module.
WinBUGS source code
The Bugs subsystem
The Compare subsystem
The Correl subsystem
The Deviance subsystem
The Doodle subsystem
The Graph subsystem
The Html subsystem
The Maps subsystem
The Math subsystem
The Monitors subsystem
The Plots subsystem
The Ranks subsystem
The Samples subsystem
The Spatial subsystem
The Summary subsystem
The Updater subsystem
Miscellaneous
The R Source Code for BRugs
The C Source Code for ClassicBUGS