Where does one find the source code style rules for SBCL, in
particular, for the runtime code?
(While I'm at it, does anybody have Emacs settings for these rules?)
Thanks,
RmK
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sbcl-devel mailing list
Sbcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel
Follow the existing style. Someone else may have more details, but I
believe some basic rules of thumb are:
K&R brace style, 4-space indents, no tabs or trailing whitespace.
..or..
(setq c-default-style "K&R")
(setq c-basic-offset 4)
(setq indent-tabs-mode nil)
(The no tabs or trailing whitespace rule applies to the Lisp code as
well, and is enforced by tools-for-build/canonicalize-whitespace upon
build.)
-bcd
> Where does one find the source code style rules for SBCL, in
> particular, for the runtime code?
See files STYLE, PRINCIPLES and TLA at the root of the SBCL source
tree.
Paolo
--
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log