{"id":"language--project-entry","name":"Project entry and source files","owner":"yeho","package":"language","kind":"language","signature":"start.yh\n*.yh\n*.y\n*.yeho\n*.yo","description":"A Yeho project starts in start.yh. Top-level statements are the program, so there is no ceremonial main function.","context":"Use start.yh for executable entry behavior and more .yh files for declarations you want the project to compile together.","parameters":[],"returns":"","members":[],"tags":["language","project.mech","start","start.yh","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"docs/language/language-core.md §2; tests/compiler/kyber/hello-runtime/start.yh"},"status":"stable","notes":["start.yh is canonical.","main.yh remains a deprecated compatibility fallback.",".ys is reserved for sandboxed YehoScript assets rather than ordinary project source."],"examples":[{"id":"0","title":"start.yh","description":"Use start.yh for executable entry behavior and more .yh files for declarations you want the project to compile together.","code":"Console.Log(\"Hello from Yeho\")\n\nint answer = 40 + 2\nConsole.Log(Text.From(answer))","manifest":"manifestVersion = \"2\"\npackage = \"api.example.language_project_entry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["language"],"verification":"type checked","run":"cpu-oracle","sha256":"0f98d3089a74da212ac4beaaaa098274f1aa66ed3a9da2b98e63e4775b23430a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=language--project-entry","json":"https://demonhunterlabs.com/reference/items/language--project-entry.json","markdown":"https://demonhunterlabs.com/reference/text/language--project-entry.md"}
