{"id":19934103,"url":"https://github.com/simoso68/morselang","last_synced_at":"2026-06-10T17:31:38.951Z","repository":{"id":182529193,"uuid":"668522412","full_name":"Simoso68/Morselang","owner":"Simoso68","description":"Morselang Compiler.","archived":false,"fork":false,"pushed_at":"2023-07-26T08:54:49.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T11:45:34.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Simoso68.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-20T02:37:34.000Z","updated_at":"2024-04-02T17:49:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c59dd321-1a79-4e3f-95e8-7eda03007846","html_url":"https://github.com/Simoso68/Morselang","commit_stats":null,"previous_names":["simoso68/morselang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Simoso68/Morselang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simoso68%2FMorselang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simoso68%2FMorselang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simoso68%2FMorselang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simoso68%2FMorselang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simoso68","download_url":"https://codeload.github.com/Simoso68/Morselang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simoso68%2FMorselang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34163253,"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-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2024-11-12T23:15:52.440Z","updated_at":"2026-06-10T17:31:38.933Z","avatar_url":"https://github.com/Simoso68.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morselang Compiler\n\n## Introduction\n\nMorselang is a compiled programming language. \\\n\\\nThe compiler allows many settings on how you wish to compile your Morselang program.\n### First: Available Output Languages:\n\n- Python\n- Lua\n- C\n- C++\n- C# (DotNet Framework)\n- Java\n- Kotlin\n\n**Choose language and output file.**\n\n```\n$ morse-lang -f mycode.morse -l python -o output.py\n$ morse-lang -f mycode.morse -l lua -o output.lua\n$ morse-lang -f mycode.morse -l c -o output.c\n$ morse-lang -f mycode.morse -l cpp -o output.cpp\n$ morse-lang -f mycode.morse -l cs -o output.cs\n$ morse-lang -f mycode.morse -l java -o output.java\n$ morse-lang -f mycode.morse -l kotlin -o output.kt\n```\n\n**NOTE:** The name of the language is not case-sensitive, for example it would still take ```PYtHoN``` as a valid argument for a language.\n\n### Secondly: You can output the compiler output as a string of text in your terminal:\n\n```\n$ morse-lang -f mycode.morse -l terminal_string\n\nHELLO WORLD\n```\n\n**NOTE:** The -o argument is not required, because it isn't being written to a file. \\\nIf you want to write the output to a file. There is the feature to write the output of a command to a file in every popular shell. Just try that.\n\n### Third: Spaces, ending a letter/number, other\n\\\n**Spaces:**\n\nTo set a space as the compiler output, you'll need to add 7 spaces between the two letters/numbers, between which you want to place a space. \\\nWhy?\n\nIn Morse code, if you want to set a space, you'll silently wait the duration of 7 dots. \\\n\\\n**Ending a letter/number:**\n\\\nTo state that you are done with a letter/number, set a space after the morse code of the letter/number you want to seperate from the next one. \\\n\\\nHello World Example:\n\n```\n.... . ._.. ._.. ___       .__ ___ ._. ._.. _..\n```\n\\\n**New lines and carriage returns.**\n\nDue to the supported letters of the international morse code, new lines (\\n) and carriage returns (\\r) are sadly not supported.\n\n## Installation\n\n**INFO:** You can run the raw Python files, but it is not recommended if you want for example add morselang to your System's PATH, etc. \\\n**IMPORTANT NOTE:** Please keep your terminal open the entire time until you are finished, do not close it, if you don't know how to work with a terminal.\n\n\n1. Install dependencies\n\n- Python 3 (Newest recommended.)\n- pip (Usually comes bundled with Python)\n- git (Preinstalled on most Linux distros, usually needs manual installation on other Operating systems.)\n- pyinstaller:\n\n```\npip install pyinstaller\n```\n\n2. Cloning source\n\n```\ngit clone https://github.com/Simoso68/Morselang\ncd Morselang\n```\n\n3. Building\n\nYou can manually build it with a PyInstaller Command, but I wrote a build script. \\\nI recommend to use that, because the installation from now on depends on the output of THIS script. \\\nIf you don't want to, feel free to read the code of the script and understanding what it does. \\\nI won't give an in-depth explanation what it does.\n\nOn Windows:\n\n```batch\npython build.py\n```\n\nOn Linux or MacOS:\n\n```bash\npython3 build.py\n```\n\n4. Adding to PATH\n\nThe PATH allows you to execute any file from anywhere in your terminal, it is pretty useful.\n\nOn Windows: \\\n**IMPORTANT:** Now, no mindless copying. Do it one by one, because if you don't, it wont work.\n```powershell\npowershell\nNew-Item -Path $Env:LOCALAPPDATA -Name \"Morselang\" -ItemType \"directory\"\nCopy-Item -Path \"out/morselang.exe\" -Destination \"$Env:LOCALAPPDATA/Morselang\"\n[Environment]::SetEnvironmentVariable(\"Path\", $Env:PATH + \";\" + $Env:LOCALAPPDATA + \"/Morselang;\")\n```\n\nOn Linux (and maybe MacOS, but not tested):\n\n```\nsudo cp /out/morselang /usr/bin/morselang\nsudo chmod +x /usr/bin/morselang\n```\n\nOn MacOS: \\\nThere are no installation instructions for MacOS specifically, but you can try the Linux Installation instructions, due to both systems being Unix-like.\n\n## Using it\n\n### Arguments\n\n```\nmorselang -f {file-containing-morsecode} -l {targeted-output-language} -o {names-of-the-output-files}\n```\n\nExample:\n\n```\nmorselang -f MyCode.morse -l c -o firstFile.c secondFile.c\n```\n\n## License\n\nMorselang is licensed under the GNU GPL Version 3. \\\nFor more information, read the License file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoso68%2Fmorselang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimoso68%2Fmorselang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoso68%2Fmorselang/lists"}