{"id":25906552,"url":"https://github.com/evangipson/lsharp","last_synced_at":"2026-05-29T13:31:28.902Z","repository":{"id":279315710,"uuid":"937993273","full_name":"evangipson/lsharp","owner":"evangipson","description":"A language written in lua that resembles C#.","archived":false,"fork":false,"pushed_at":"2025-02-24T23:20:30.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T00:25:25.353Z","etag":null,"topics":["lua","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/evangipson.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":"2025-02-24T08:51:58.000Z","updated_at":"2025-02-24T23:20:33.000Z","dependencies_parsed_at":"2025-02-25T00:25:42.434Z","dependency_job_id":"f8b1cace-684d-4ca3-9ea8-60031dad31dd","html_url":"https://github.com/evangipson/lsharp","commit_stats":null,"previous_names":["evangipson/lsharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evangipson/lsharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evangipson%2Flsharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evangipson%2Flsharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evangipson%2Flsharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evangipson%2Flsharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evangipson","download_url":"https://codeload.github.com/evangipson/lsharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evangipson%2Flsharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33655440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["lua","programming-language"],"created_at":"2025-03-03T06:15:12.677Z","updated_at":"2026-05-29T13:31:28.883Z","avatar_url":"https://github.com/evangipson.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# L#\nL# (\"L Sharp\") is a programming language initially written in lua. It has a few goals in mind:\n\n- L# is intended to be easy-to-write, easy-to-read, immutable by default, general-purpose, extensible, platform-agnostic programming language\n- The language is intended to interoperate with other systems and languages\n- The language does not allow code that would violate any memory safety; memory should not be a concern of the programmer\n- The language does not enforce any specific architecture or structure (with spaces, folders, groupings of files, or brackets), rather, the programmer decides and implements how they see fit\n- L# applications are intended to be economical with regard to memory and processing, the language is intended to compete directly on performance and size with C or assembly language\n\nIf you're curious, you can read more about it in the [L# language spec](spec) included in this repo.\n\n## Syntax\n\nHere is a sample of some [simple L# source code](./examples/simple.ls):\n\n```lsharp\n/* grab the io library for it's logging functions */\ngrab io\n\n/* A normal logging function */\nio.log('A normal call to io.log from L#.')\n\n/* Full suite of named log functions */\nio.debug('A normal call to io.debug from L#.')\nio.information('A normal call to io.information from L#.')\nio.warning('A normal call to io.warning from L#.')\nio.error('A normal call to io.error from L#.')\n\n/* Full suite of log functions with severity specified */\nio.log('A call to io.log with \"debug\" severity from L#.', 1)\nio.log('A call to io.log with \"information\" severity from L#.', 2)\nio.log('A call to io.log with \"warning\" severity from L#.', 3)\nio.log('A call to io.log with \"error\" severity from L#.', 4)\n\n/* declaring and assiging the number type */\nnumber temperature = 98.4\n\n/* logging the number that was assigned */\nio.information('Temperature set: `temperature`')\n```\n\nIt will produce output that looks like this:\n\n![A screenshot of console output of a simple L# program.](assets/simple-file-console-output.png)\n\n## Run\n- Install lua\n- Download the repo\n- From the repo root, run the example L# file with `lua ./init.lua ./examples/spec.ls [-d|--debug]`\n    - The `-d` or `--debug` flag will turn debug mode on and show compiler information.\n\n## Architecture\nThe compiler will read the L# file, break it up into understandable lexemes, parse those lexemes into statements, then invoke those statements.\n\nIt will also raise errors to the caller if errors do occur.\n\n## Todo\n- Finish L# language spec\n- Finish L# VSCode extension\n- Create an L# compiler binary from the lua compiler code\n- Create an L# compiler in L#","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevangipson%2Flsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevangipson%2Flsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevangipson%2Flsharp/lists"}