8000 GitHub - MajorSlime/zt-bcc: Maintaned fork of Positron's original ACS/ACS95/BCS compiler.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MajorSlime/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

Releases

No releases published

Packages

No packages published

Languages

  • C 99.1%
  • Other 0.9%
0