Origin C

1 program Added 2026-03-05T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit e3bbafbcfd · authored 2026-03-05T00:26:03+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

ORCA/C (0.22)Oriel (0.21)Dartmouth BASIC (0.19)OpenCL (0.17)Orca (0.14)

LLM-contributed programs

Create Worksheet with Data

Provenance: commit e3bbafbcfd · authored 2026-03-05T00:26:03+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.c · added: 2026-03-05T10:00:00Z
void new_wks()
{
	Worksheet wks;
	wks.Create("Origin"); // create a Worksheet window with template - Origin

	vector& vecX = wks.Columns(0).GetDataObject();
	vector& vecY = wks.Columns(1).GetDataObject();

	vecX.Data(1, 10, 1);
	vecY.Data(0.1, 1, 0.1);

	vector<string> vsLongName =
	{
		"Index",
		"Data"
	};

	for (int nCol = 0; nCol < wks.GetNumCols(); ++nCol)
	{
		Column col (wks, nCol);
		col.SetLongName(vsLongName[nCol]);
	}
}

Contribute — propose a file extension

Tell us where to find evidence about Origin C (mapped to pl/origin_c). 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/Origin C/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← orient84-k ORK →