{"id":23821354,"url":"https://github.com/returnstring/dogesharp","last_synced_at":"2025-09-07T04:31:11.504Z","repository":{"id":19320923,"uuid":"22559166","full_name":"returnString/DogeSharp","owner":"returnString","description":"much language, so programming, very .NET","archived":false,"fork":false,"pushed_at":"2014-08-25T19:04:00.000Z","size":570,"stargazers_count":237,"open_issues_count":2,"forks_count":7,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-07T17:51:29.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/returnString.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}},"created_at":"2014-08-02T22:37:27.000Z","updated_at":"2025-02-04T11:09:59.000Z","dependencies_parsed_at":"2022-09-25T05:50:51.639Z","dependency_job_id":null,"html_url":"https://github.com/returnString/DogeSharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/returnString/DogeSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/returnString%2FDogeSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/returnString%2FDogeSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/returnString%2FDogeSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/returnString%2FDogeSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/returnString","download_url":"https://codeload.github.com/returnString/DogeSharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/returnString%2FDogeSharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273996534,"owners_count":25204471,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":"2025-01-02T08:39:12.209Z","updated_at":"2025-09-07T04:31:11.229Z","avatar_url":"https://github.com/returnString.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# D# (DogeSharp)\n\n[![Build status](https://ci.appveyor.com/api/projects/status/7qcm1amm8nuwd9k3)](https://ci.appveyor.com/project/returnString/dogesharp)\n\nD# is a programming language for Doge fans.\n\n*Huge disclaimer: I have no idea what I'm doing, and definitely shouldn't write languages.*\n\nYou can shout ideas at me on Twitter: [@returnString](https://twitter.com/returnString)\n\nPeople have asked for a Dogecoin donation address, so I set this up: DAvLTZVRz9zg3wWjU5BbkjRR5ojnLJsunG\n\n```\nmany System\n\nmuch MyClass\n\tvery MyClass many int x much public\n\t\tdata so x;\n\n\tsuch data so int much readonly\n\nmuch Program\n\tvery Main so void much static\n\t\tsuch rand gimme Random;\n\t\tsuch x plz rand.Next;\n\t\twow x;\n\t\t\n\t\tsuch instance gimme MyClass many 1;\n\t\twow instance.data;\n\n```\n\n# Language\n## Constructs\n* `many \u003cnamespace\u003e` - using statement for namespace\n* `much \u003ctypename\u003e ...` - declare a type\n* `very \u003cmethodname\u003e so \u003creturntype\u003e [many \u003cargtype\u003e \u003cargname\u003e] [much \u003cmodifier\u003e]` - declare a method\n* `very \u003ctypename\u003e [much \u003cmodifier\u003e]` - declare a constructor\n* `such \u003cvariablename\u003e \u003cexpression\u003e;` - declare and assign a local variable\n* `plz \u003cmethod\u003e [many \u003carg\u003e]` - call a method\n* `so maths \u003cexpression\u003e \u003coperator\u003e \u003cexpression\u003e` - use mathematical operators\n* `wow \u003cexpression\u003e;` - print to console\n* `amaze \u003cexpression\u003e;` - return a value\n\n# Usage\n## Compiling .ds files\nFiles with a ds extension are considered D# files. We use the `dsc` command-line tool (D# compiler) to convert these to either a .NET executable or DLL.\n\n`dsc.exe /target:exe /out:MyProgram.exe MyProgram.ds`\n\n`dsc` currently uses a translation step to generate .NET code, by converting .ds files into .cs files for the C# compiler behind the scenes. To see the generated files, use the /PreserveTranslated command-line option.\n\n# Building\n## Dependencies\n* ANTLR v4 (Nuget)\n* Java v1.6+\n\n## From source\n`git clone https://github.com/returnString/DogeSharp.git`\n\nWindows: Open the solution in VS and build, or use MSBuild from cmd.\nUnix: Use build_grammar.sh to generate the necessary ANTLR files from the grammar, then build the project inside Xamarin Studio or use xbuild from a terminal.\n\nThe build process first takes DogeSharp.csproj and outputs the `dsc` tool. Then, we invoke `dsc` for the sample projects as specified in build.bat/sh. This way, we can test the entire process from inside VS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freturnstring%2Fdogesharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freturnstring%2Fdogesharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freturnstring%2Fdogesharp/lists"}