{"id":19350092,"url":"https://github.com/syntax-script/syntaxs","last_synced_at":"2025-02-24T10:21:40.081Z","repository":{"id":232239984,"uuid":"778876181","full_name":"syntax-script/syntaxs","owner":"syntax-script","description":"CLI Application to use Syntax Script easily.","archived":false,"fork":false,"pushed_at":"2024-10-15T19:28:19.000Z","size":376,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T15:25:58.225Z","etag":null,"topics":["cli","cli-application","cli-applications","client-user-interface","compiler","compiler-application","compiler-cli","script","syntax","syntax-script","sys","syx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syntax-script.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null}},"created_at":"2024-03-28T15:27:58.000Z","updated_at":"2024-10-15T19:28:23.000Z","dependencies_parsed_at":"2024-10-18T01:35:07.574Z","dependency_job_id":null,"html_url":"https://github.com/syntax-script/syntaxs","commit_stats":null,"previous_names":["syntax-script/syntaxs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntax-script%2Fsyntaxs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntax-script%2Fsyntaxs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntax-script%2Fsyntaxs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntax-script%2Fsyntaxs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syntax-script","download_url":"https://codeload.github.com/syntax-script/syntaxs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240458086,"owners_count":19804505,"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":["cli","cli-application","cli-applications","client-user-interface","compiler","compiler-application","compiler-cli","script","syntax","syntax-script","sys","syx"],"created_at":"2024-11-10T04:29:36.284Z","updated_at":"2025-02-24T10:21:40.041Z","avatar_url":"https://github.com/syntax-script.png","language":"TypeScript","readme":"# syntaxs `v0.0.1-alpha`\n\nMain library required to use SyntaxScript.\n\n\u003e This project is still in alpha. If you would like to contribute to this project, or get help about using it, please consider [our discord server](https://discord.gg/tPSn7HPc).\n\n# Introduction\n\nSyntax Script is designed to be a programming langauge that you make. You can define any syntax you want, add any function you want, add any\nexpression you would like to exist, add any keyword you want. And the good thing is that you don't have to write a runtime! You can compile\nthe same code into any language you want. For example, let's see some basic operators.\n\n```syx\n// Addition expression\nexport operator \u003cdecimal\u003e+s'+'+s\u003cdecimal\u003e {\n    compile(ts,js,mts,mjs,cts,cjs,tsx,jsx,java,py,javascript,typescript,kotlin) decimal|0 '+' decimal|1;\n}\n\n// Subtraction expression\nexport operator \u003cdecimal\u003e+s'-'+s\u003cdecimal\u003e {\n    compile(ts,js,mts,mjs,cts,cjs,tsx,jsx,java,py,javascript,typescript,kotlin) decimal|0 '-' decimal|1;\n}\n\n// Multiplication expression\nexport operator \u003cdecimal\u003e+s'*'+s\u003cdecimal\u003e {\n    compile(ts,js,mts,mjs,cts,cjs,tsx,jsx,java,py,javacsript,typescript,kotlin) decimal|0 '*' decimal|1;\n}\n\n// Division expression\nexport operator \u003cdecimal\u003e+s'/'+s\u003cdecimal\u003e {\n    compile(ts,js,mts,mjs,cts,cjs,tsx,jsx,java,javascript,typescript,kotlin) decimal|0 '/' decimal|1;\n    compile(py) decimal|0'//'decimal|1;\n    imports(py) 'math';\n}\n```\n\nAll you need to do is import this file from a syntax script file, and you'll have a language that only supports four mathemetical operations.\n\n# Installation\n\n```bat\nnpm i -g syntaxs\n```\n\n# Usage\n\n```bat\nsyntaxs help    -- help command\nsyntaxs init    -- create config file\nsyntaxs compile -- compile\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyntax-script%2Fsyntaxs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyntax-script%2Fsyntaxs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyntax-script%2Fsyntaxs/lists"}