{"id":17475226,"url":"https://github.com/treeplate/syllad","last_synced_at":"2025-04-22T11:14:53.192Z","repository":{"id":40594453,"uuid":"415686742","full_name":"treeplate/syllad","owner":"treeplate","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-24T22:29:33.000Z","size":3085,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T14:34:58.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/treeplate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-10-10T19:56:55.000Z","updated_at":"2024-12-24T22:29:37.000Z","dependencies_parsed_at":"2023-02-05T00:17:11.592Z","dependency_job_id":"348785d4-e5d8-412d-80dc-bbe2e04cc7a1","html_url":"https://github.com/treeplate/syllad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeplate%2Fsyllad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeplate%2Fsyllad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeplate%2Fsyllad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeplate%2Fsyllad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treeplate","download_url":"https://codeload.github.com/treeplate/syllad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250228689,"owners_count":21395958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-18T18:43:39.975Z","updated_at":"2025-04-22T11:14:53.129Z","avatar_url":"https://github.com/treeplate.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syllad (programming language)\n## Tokens\n### Whitespace\nWhitespace is ignored, except for separating identifiers/integers.\n### Strings\nStrings are backslash-escaped can be double-quoted or single quoted.\nThe special escapes are as follows:\n- `\\0` is a null byte\n- `\\n` is a newline\n- `\\t` is a tab\n- `\\r` is a carriage return\n### Integers\nIntegers start with one of `0123456789` and then any number of `0123456789xabcdefXABCDEF`. If the resulting string is `9223372036854775808`, the result is 0x8000000000000000, otherwise, it's the same as Dart's `int.parse` (if that throws an exception, then it's an invalid program)\n\u003c!-- TODO: redefine to not rely on other language --\u003e\n### Identifiers\nIdentifiers start with one character out of `a`-`z`, `A`-`Z`, `_`, then any number of those characters or any of `0123456789`.\n\"is\" and \"as\" are *keywords*, and do not count as identifiers.\n### Comments\nComments are `//` for single-line comments, and `/*` ... `*/` for multi-line comments. Text after a //# (to the next whitespace) is a *comment feature*, as discussed later.\n### Other characters\n`;`, `(`, `)`, `[`, `]`, `{`, `}`, `,`, `.`, `...`, `!`, `+`, `+=`, `++`, `-`, `-=`, `--`, `/`, `/=`, `*`, `*=`, `**`, `,`, `%`, `%=`, `==`, `!=`, `\u003e`, `\u003e=`, `\u003c=`, `\u003c`, `\u0026\u0026`, `\u0026\u0026=`, `||`, `||=`, `\u0026`, `\u0026=`, `|`, `|=`, `^`, `^=`, `~`, `~=`, `\u003c\u003c`, `\u003c\u003c=`, `\u003e\u003e`, `\u003e\u003e=`, `=`, `:`\n\n## Program structure\nA program is a list of *imports*, followed by a list of *statements*.\n### Imports\nImports consist of the identifier `import`, followed by a string (the path to the imported file), followed by a semicolon. This runs the file in a new scope (if not already ran), and imports everything declared there in global scope.\n### Statements\nThere are two types of statements: semicolon statements and block statements. Semicolon statements end with a `;`; whereas block statements end with a `{`, optionally some statements, and a `}`.\n### Semicolon statements\nIn the following, [square brackets] mean optional parts of the statement.\n- Assignment statement: *variable*`=`*expression*`;`\n- Variable declaration statement: *type* *identifier* [`=` *expression*]`;` \n- Expression statement: *expression*`;`\n- more\n\u003c!-- TODO: finish this --\u003e\n## Valid compiler extensions\nA implementation of Syllad is valid if:\n- it passes all the tests. If this specification contradicts one of the tests, please report it at https://github.com/treeplate/syllad/issues.\n- it produces the same output regardless of comments (with the exception of comment features)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreeplate%2Fsyllad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreeplate%2Fsyllad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreeplate%2Fsyllad/lists"}