Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Action Code Script

< >

Action Code Script is a programming language created in 2004.

#1618on PLDB 20Years Old

Action Code Script (ACS) is a scripting language used in video games such as HeXen and some modern Doom source ports, such as ZDoom. It is syntactically similar to C, but less flexible. As its name implies, most of the core logic for script functionality comes in the form of "scripts", which are traditionally identified with a numerical value. Read more on Wikipedia...


Example from Wikipedia:
1 // Similar to C's stdio.h, ACS has its own library of basic functions 2 #include "zcommon.acs" 3 4 script 1 ENTER 5 { 6 print(s:"Hello World!"); 7 }

Language features

Feature Supported Token Example
Print() Debugging ✓ print
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 630 · Donate · feedback@pldb.io