-
Notifications
You must be signed in to change notification settings - Fork 148
Compiler Options
Nathaniel Sabanski edited this page Jan 20, 2016
·
10 revisions
Added by dholton dholton
Right now this is just a list of potential options for the boo compiler, some of which do not exist yet and may never exist.
For those options that can be on or off, this list suggests two names for each option, specifying if it is on or off. The first name listed is the default when no option is specified.
-
Static / Ducky - default type is duck instead of object. See [Duck Typing](Duck-Typing).
-
(don't need this one I think, have booc handle it instead) Release / Debug - include debug messages, assert checks, etc.
-
(don't need this one) Warn / NoWarn - warning messages
-
(don't need this one) Verbose / Quiet - error messages
-
Checked / Unchecked - numeric overflow checking
-
NormalArrayIndexing / RawArrayIndexing - myarray[-1] raises an outofbounds exception instead of returning last item in array
-
(not part of boo) CaseSensitive / CaseInsensitive - http://jira.codehaus.org/browse/BOO-128 **<<<--- DOESN'T EXIST**
-
Implicit / Explicit - whether you need to declare variables before using them
-
StrictTyping
See also the C# and VB.NET compiler options.
Specifying the options on the command-line
Using booc, booi:
//
Specifying the options in a boo file
This isn't implemented yet, just an idea:
//Before namespace declaration:
Options RawArrayIndexing, Unchecked, Static