{"id":15049091,"url":"https://github.com/sidnand/byte","last_synced_at":"2026-02-14T17:02:21.816Z","repository":{"id":211386704,"uuid":"728949679","full_name":"sidnand/Byte","owner":"sidnand","description":"In development. Byte is a bare-bones language, it gives you the bare minimum out of the box features.","archived":false,"fork":false,"pushed_at":"2023-12-15T07:47:42.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T07:42:18.388Z","etag":null,"topics":["c-programming-language","interpreter","programming-language"],"latest_commit_sha":null,"homepage":"","language":"C","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/sidnand.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,"publiccode":null,"codemeta":null}},"created_at":"2023-12-08T03:51:42.000Z","updated_at":"2023-12-13T06:59:39.000Z","dependencies_parsed_at":"2024-11-20T00:00:26.362Z","dependency_job_id":null,"html_url":"https://github.com/sidnand/Byte","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"cc70757e61df3ec37e1fcba8406728ecd5c3e941"},"previous_names":["sidnand/byte"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sidnand/Byte","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidnand%2FByte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidnand%2FByte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidnand%2FByte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidnand%2FByte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sidnand","download_url":"https://codeload.github.com/sidnand/Byte/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidnand%2FByte/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29450595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["c-programming-language","interpreter","programming-language"],"created_at":"2024-09-24T21:18:02.045Z","updated_at":"2026-02-14T17:02:21.777Z","avatar_url":"https://github.com/sidnand.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Byte\n\nByte is a small interpreted programming lanuage written in C. It is similar to C in terms of features, but does memory management for you and the syntax is cleaner.\n\n## Development\n\n### Testing\n\n- To run the tests: `make test TEST_FILE=\u003cpath/to/file.test.c\u003e`\n\n### Building\n\n- To build the project, run the following command: `make build`\n\n## File Structure (Expected)\n\n```\n|-- bins                             # Directory for executables\n|-- include                          # Header files\n|-- libs                             # Libraries\n    |-- unity                          # Unit testing library\n|-- examples                         # Example programs\n\n|-- tests                            # Unit tests\n\n|-- src                              # Source code\n    |-- core                           # Core files\n        |-- lexer.c                     # Lexical analyzer\n        |-- parser.c                    # Parser\n        |-- interpreter.c               # Interpreter\n    |-- data                           # Data structures\n        |-- token.c                     # Token data structure for lexer\n    |-- io                             # Input/Output\n        |-- reader.c                    # File reader\n    |-- utils                          # Utility functions\n\n|-- main.c                           # Main file\n\n|-- .gitignore                       # Gitignore file for specifying ignored files/directories\n|-- README.md                        # Project README file\n|-- Makefile                         # Makefile for building the project\n\n```\n\n## Syntax Ideas\n\n```\n\n============================== COMMENTS ==============================\n\n// This is a comment\n/* This is multiline comment */\n\n============================== IMPORTS ==============================\n\nimport \"./path/to/file.by\"\n\n============================== DATA TYPES / VARIABLES ==============================\n\nstr name = \"John Doe\";\nchar letter = 'a';\nint age = 30;\nfloat height = 1.75;\nbool isMale = true;\n\nstr[] names = [\"John\", \"Jane\", \"Jack\"];\nchar[] letters = ['a', 'b', 'c'];\nint[] ages = [30, 25, 20];\nfloat[] heights = [1.75, 1.65, 1.80];\nbool[] isMales = [true, false, true];\n[] mixed = [\"John\", 30, 1.75, true, 'a'];\n\nPerson =  {\n    str name;\n    int age;\n    float height;\n    bool isMale;\n    int[] scores;\n};\n\nPerson john = {\n    name: \"John Doe\",\n    age: 30,\n    height: 1.75,\n    isMale: true,\n    scores: [10, 20, 30]\n};\n\nPerson[] people = [\n    Person {\n        name: \"John Doe\",\n        age: 30,\n        height: 1.75,\n        isMale: true,\n        scores: [10, 20, 30]\n    },\n\n    ...\n];\n\n============================== OPERATORS ==============================\n// Arithmetic\n+ : add\n- : subtract\n* : multiply\n/ : divide\n% : modulo\n^n : power of n\n++ : increment\n-- : decrement\n+= : add and assign\n-= : subtract and assign\n\n// Comparison\n== != \u003e \u003c \u003e= \u003c=\n\n// Logical\nand\nor\nnot\n\n============================== CONTROL FLOW ==============================\n\nif condition {\n\n} else if condition {\n\n} else {\n\n};\n\n============================== LOOPS ==============================\n\nwhile condition {\n    ...\n};\n\nfor i = 0, i \u003c 10, i++ {\n    ...\n};\n\n============================== FUNCTIONS ==============================\n\nstr name() = {\n    ...\n};\n\nfloat name(int arg1, char arg2) = {\n    ...\n};\n\nPerson name() = return john;\n\nvoid name() = {\n    ...\n};\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidnand%2Fbyte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidnand%2Fbyte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidnand%2Fbyte/lists"}