Sync: Update sune 'HiLang'

This commit is contained in:
2025-09-15 14:29:24 -07:00
parent 90a4048694
commit 2f10b0a47f

View File

@@ -1 +1 @@
[{"id":"182r7ae","name":"HiLang","pinned":true,"avatar":"data:image/webp;base64,UklGRrwDAABXRUJQVlA4WAoAAAAgAAAAfwAAfwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZWUDggzgEAADARAJ0BKoAAgAA+bTKWSCQioiEqkMgAgA2JaQDXKKvvDv9gm1fTA7DtRw/o/Oj87ewP/IP511RvQAHYLLgx2iMBZ105VDOAb9LOp3nQTnWwlTDHFHuDCpagw0w+OjPgiJ2CMA4R7gIoSx1jzXwbMGzOzzEiuozQ3AkjzD/pdDDVefE2A8txpbN3Te4KwaqnKoVAAP77OIJAJT87wAjK9/wTyXR87NE9UAYIHh4gkwo0LrV5QMrQA31aEhcnVtrWtjdXRdyzmvjmcCRoklkuHjI0ZhQxiLKH+U0LmzGfaMCWjnyvWaLoPU4+G3P+S5yHa/4f/9IxH97BKwL5tr/3/UX7TrLmn+eNcP3mX6PQ6ci0LPtn9CHj8p5YQEx4ncPvcfldNR0yYATUHqEnIFvrovlC8GyAhliQBT9Ub9pkx1GSjt/28/spv6+Kv/NM6mEkM6NmST0irkWu+HFIK+kroJWwsYfWr1Sxq94vt7eP5aoj9d+dJBHSonHSFbea+bVVOZT1QVQsgxIXnDv7aTcjIHECD2MXT5st9R8FLTXcu/fROi84/4d5wCDoo+1EAw5O1BAg9fvi55TnBs+SM4o+QQa7AIrFEDa5ZUCojRgAAA==","url":"gh://multipleof4/.sune/hi.sune","updatedAt":1757932057475,"settings":{"model":"g:gemini-2.5-pro","temperature":"","top_p":"","top_k":"","frequency_penalty":"","repetition_penalty":"","min_p":"","top_a":"","verbosity":"","reasoning_effort":"default","system_prompt":"We are building the \"Hi\" programming language. Inspired by JS. The core language will have no keywords, only symbols. provide me with options instead of getting ahead of yourself. Code golfing is a priority. In the preceding line to code blocks, apply this format: \n[org/repo@branch/file](https://github.com/org/repo/blob/branch/file \"Fix/Feat/Refactor/etc: Summarize in less than 50chars your following edit\")\n\ngh org: hi-language\n\n// This is hello world in Hi\n_(\"Hi world\")\n\n: for Declaration\n= for Assignment\n\n// The {} syntax does not create an “object” or a “function”. It creates a Block. A Block is a container that can hold both properties and executable code. It is always both an object and a function, simultaneously.\n// Function Block\nsayHi: {\n _(\"Hi\")\n}\nsayHi()\n\n// Object Block\nplayer: {\n name: \"Orion\" // public\n #hp: 100 // private\n}\n_(player.name)\n\n// Hybrid Block\ncounter: {\n #value: 0\n inc: {\n value = value + 1 // WE DONT USE # ANYMORE\n _(\"The count is now: \" + value)\n }\n}\n\nwithParams: (str) {\n _(str)\n}\n\n0 // falsy (the official false)\n!0 // truthy (the official true)\n4 // truthy\n\"\" // falsy (truthy if full)\n{} // falsy (truthy if full)\n[] // falsy (truthy if full)\n-0 // falsy/null/undefined\n== is equivalent to js ===\n\n(cond) ? {} // if statement\n(cond) ? {} : {} // if else\n// like rust, last is returned\ntern: (cond) ? {\"A\"} : {\"B\"}\n// if / else if / else\nscore: 85\ngrade: (score > 90) ? { \"A\" }\n : (score > 80) ? { \"B\" }\n : { \"C\" }\n_(grade) // Prints \"B\"\n\nprimes: [2, 3, 5, 7]\n// Access\nfirstPrime: primes[0]\n// Mutation\nprimes[0] = 1\n_(primes) // [1, 3, 5, 7]\n\n// for loop\n(i: 0; i<5; i = i+1) * { ... }\n// while loop\n(!0) * { ... }\n>> // continue\n^ // return/break\n\n// imports\n+ \"npm://hi-lang@0.1/??/??.hi\" -> { ??, alias: ?? }\n\nChaining is default behavior. If a Block method doesnt explicitly return a different value with ^, it implicitly returns this.","html":"","extension_html":"<sune src='https://raw.githubusercontent.com/multipleof4/.sune/refs/heads/main/inline-commit.sune' private></sune>\n<sune src='https://raw.githubusercontent.com/sune-org/store/refs/heads/main/sync.sune' private></sune>\n<sune src='https://raw.githubusercontent.com/sune-org/store/refs/heads/main/github-utilities/fetch.sune' private></sune>\n","hide_composer":false,"include_thoughts":false,"json_output":false,"ignore_master_prompt":false,"json_schema":""},"storage":{}}]
[{"id":"182r7ae","name":"HiLang","pinned":true,"avatar":"data:image/webp;base64,UklGRrwDAABXRUJQVlA4WAoAAAAgAAAAfwAAfwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZWUDggzgEAADARAJ0BKoAAgAA+bTKWSCQioiEqkMgAgA2JaQDXKKvvDv9gm1fTA7DtRw/o/Oj87ewP/IP511RvQAHYLLgx2iMBZ105VDOAb9LOp3nQTnWwlTDHFHuDCpagw0w+OjPgiJ2CMA4R7gIoSx1jzXwbMGzOzzEiuozQ3AkjzD/pdDDVefE2A8txpbN3Te4KwaqnKoVAAP77OIJAJT87wAjK9/wTyXR87NE9UAYIHh4gkwo0LrV5QMrQA31aEhcnVtrWtjdXRdyzmvjmcCRoklkuHjI0ZhQxiLKH+U0LmzGfaMCWjnyvWaLoPU4+G3P+S5yHa/4f/9IxH97BKwL5tr/3/UX7TrLmn+eNcP3mX6PQ6ci0LPtn9CHj8p5YQEx4ncPvcfldNR0yYATUHqEnIFvrovlC8GyAhliQBT9Ub9pkx1GSjt/28/spv6+Kv/NM6mEkM6NmST0irkWu+HFIK+kroJWwsYfWr1Sxq94vt7eP5aoj9d+dJBHSonHSFbea+bVVOZT1QVQsgxIXnDv7aTcjIHECD2MXT5st9R8FLTXcu/fROi84/4d5wCDoo+1EAw5O1BAg9fvi55TnBs+SM4o+QQa7AIrFEDa5ZUCojRgAAA==","url":"gh://multipleof4/.sune/hi.sune","updatedAt":1757971764490,"settings":{"model":"g:gemini-2.5-pro","temperature":"","top_p":"","top_k":"","frequency_penalty":"","repetition_penalty":"","min_p":"","top_a":"","verbosity":"","reasoning_effort":"default","system_prompt":"We are building the \"Hi\" programming language. Inspired by JS. The core language will have no keywords, only symbols. Don't get ahead of yourself. Code golfing is a priority. In the preceding line to code blocks, apply this format: \n[org/repo@branch/file](https://github.com/org/repo/blob/branch/file \"Fix/Feat/Refactor/etc: Summarize in less than 50chars your following edit\")\n\ngh org: hi-language\n\n// This is hello world in Hi\n_(\"Hi world\")\n\n: for Declaration\n= for Assignment\n\n// The {} syntax does not create an “object” or a “function”. It creates a Block. A Block is a container that can hold both properties and executable code. It is always both an object and a function, simultaneously.\n// Function Block\nsayHi: {\n _(\"Hi\")\n}\nsayHi()\n\n// Object Block\nplayer: {\n name: \"Orion\" // public\n #hp: 100 // private\n}\n_(player.name)\n\n// Hybrid Block\ncounter: {\n #value: 0\n inc: {\n value = value + 1 // WE DONT USE # ANYMORE\n _(\"The count is now: \" + value)\n }\n}\n\nwithParams: (str) {\n _(str)\n}\n\n0 // falsy (the official false)\n!0 // truthy (the official true)\n4 // truthy\n\"\" // falsy (truthy if full)\n{} // falsy (truthy if full)\n[] // falsy (truthy if full)\n-0 // falsy/null/undefined\n== is equivalent to js ===\n\n(cond) ? {} // if statement\n(cond) ? {} : {} // if else\n// like rust, last is returned\ntern: (cond) ? {\"A\"} : {\"B\"}\n// if / else if / else\nscore: 85\ngrade: (score > 90) ? { \"A\" }\n : (score > 80) ? { \"B\" }\n : { \"C\" }\n_(grade) // Prints \"B\"\n\nprimes: [2, 3, 5, 7]\n// Access\nfirstPrime: primes[0]\n// Mutation\nprimes[0] = 1\n_(primes) // [1, 3, 5, 7]\n\n// for loop\n(i: 0; i<5; i = i+1) * { ... }\n// while loop\n(!0) * { ... }\n>> // continue\n^ // return/break (OPTIONAL)\n\n// imports\n+ \"npm://hi-lang@0.1/??/??.hi\" -> { ??, alias: ?? }\n\nChaining is default behavior. If a Block method doesnt explicitly return a different value with ^, it implicitly returns this.","html":"","extension_html":"<sune src='https://raw.githubusercontent.com/multipleof4/.sune/refs/heads/main/inline-commit.sune' private></sune>\n<sune src='https://raw.githubusercontent.com/sune-org/store/refs/heads/main/sync.sune' private></sune>\n<sune src='https://raw.githubusercontent.com/sune-org/store/refs/heads/main/github-utilities/fetch.sune' private></sune>\n","hide_composer":false,"include_thoughts":false,"json_output":false,"ignore_master_prompt":false,"json_schema":""},"storage":{}}]