Skip to content

Maintaned fork of Positron's original ACS/ACS95/BCS compiler.

License

Notifications You must be signed in to change notification settings

zeta-group/zt-bcc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bcc is an enhanced ACS bytecode compiler for the ZDoom family of ports.

strict namespace SampleCode {
   script "Main" open {
      static str basket[] = { "apples", "oranges", "pears" };
      foreach ( auto fruit; basket ) {
         Print( s: "I love ", s: fruit, s: ( fruit == "oranges" ) ?
            " very much" : "" );
      }
   }
}

BCS is an extension of ACS. BCS is mostly compatible with ACS and provides many interesting and useful features, including the following:

  • Structures
  • Enumerations
  • Namespaces
  • Preprocessor
  • Strong types
  • Block scoping
  • Optional function parameters
  • Object and function references
  • && and || operators are short-circuited
  • foreach loop
  • ?: operator

See the wiki page for an overview of the features.

About

Maintaned fork of Positron's original ACS/ACS95/BCS compiler.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.1%
  • Other 0.9%