AngelScript
1 program
Added 2025-10-23T09:34:42Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: AS
Provenance: commit 9e08b89de6 · authored 2025-10-23T11:34:42+02:00 · model google/gemini-2.5-pro
Sources mentioning this language
8 sources · pl_id:
pl/angelscriptWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: scripting · imperative (procedural · object-oriented) |
|---|---|
| Typing | static, strong |
| Designed by | Andreas Jönsson |
| First appeared | 2003 |
| Influenced by | C++ |
| License | zlib License |
| Homepage | https://angelcode.com/angelscript/ |
Extensions claimed by this language
3 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.as | linguist | primary | 6.7M files |
.as | pygments | primary | 6.7M files |
.angelscript | linguist | secondary | 2.7K files |
Related languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
AngelScript Coroutine Example
Provenance: commit 9e08b89de6 · authored 2025-10-23T11:34:42+02:00 · model google/gemini-2.5-pro · Temp 0.4
// The function that will be executed as a coroutine
void MyCoroutine(array<string> &in args)
{
// The coroutine will suspend its execution and return to the caller
yield();
// When the host application resumes the coroutine, it will
// continue execution from here.
for( uint n = 0; n < args.length(); n++ )
print(args[n] + "\n");
}
// The main function that will start the coroutine
void main()
{
// Create a new coroutine
createCoroutine("MyCoroutine", {"hello", "world"});
// The coroutine has been created, but not yet executed.
// The host application can now resume the execution when it wants.
}