PlayScript

1 program Added 2026-03-16T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 3185f8ceec · authored 2026-03-16T22:57:53+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

PogoScript (0.41)ZScript (0.40)Pine Script (0.39)F-Script (0.38)ReScript (0.38)

LLM-contributed programs

Array Dynamic Test

Provenance: commit 3185f8ceec · authored 2026-03-16T22:57:53+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.play · license: Apache-2.0 · added: 2026-03-16T10:00:00Z
package
{
	public class ArrayDynamicTest
	{
		public static function Main():int
		{
	   		var a:Array = new Array(3);
        	a[0] = 10;
        	a[1] = 11;
        	a[2] = 12;
        	a["key_a0"] = "a0";
        	a["key_a1"] = "a1";
        	a["key_a2"] = "a2";
			var o:Object;
			var strForEach:String = "";
        	for each(o in a)
        	{
        		strForEach += o;
        	}
        	if (strForEach != "101112a0a1a2")
			{
				trace("Array - for each is wrong; expected=\"101112a0a1a2\", actual=\"" + strForEach + "\"");
				return 1;
			}
        	
        	var strForIn:String = "";  	
        	for (o in a)
        	{
    	    	strForIn += o;
        	}
        	if (strForIn != "012key_a0key_a1key_a2")
			{
				trace("Array - for in is wrong; expected=\"012key_a0key_a1key_a2\", actual=\"" + strForIn + "\"");
				return 2;
			}

			return 0;
		}
	}
}

Contribute — propose a file extension

Tell us where to find evidence about PlayScript (mapped to pl/playscript). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/PlayScript/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Playlist plb →