{"id":13556113,"url":"https://github.com/dogescript/dogescript","last_synced_at":"2025-05-15T05:06:50.827Z","repository":{"id":11589854,"uuid":"14080560","full_name":"dogescript/dogescript","owner":"dogescript","description":"wow so syntax very doge much future","archived":false,"fork":false,"pushed_at":"2023-09-26T13:28:29.000Z","size":2437,"stargazers_count":1345,"open_issues_count":8,"forks_count":95,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-14T08:09:53.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dogescript.io","language":"JavaScript","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/dogescript.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2013-11-03T05:13:59.000Z","updated_at":"2025-03-20T21:16:47.000Z","dependencies_parsed_at":"2024-06-18T16:40:38.377Z","dependency_job_id":"237cc649-c199-466a-954f-3eff8a6aceb5","html_url":"https://github.com/dogescript/dogescript","commit_stats":{"total_commits":286,"total_committers":31,"mean_commits":9.225806451612904,"dds":"0.49650349650349646","last_synced_commit":"927532dd5d8078414c00eb25bf4045aadc337b58"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogescript%2Fdogescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogescript%2Fdogescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogescript%2Fdogescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogescript%2Fdogescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dogescript","download_url":"https://codeload.github.com/dogescript/dogescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276447,"owners_count":22043867,"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":[],"created_at":"2024-08-01T12:03:38.391Z","updated_at":"2025-05-15T05:06:45.816Z","avatar_url":"https://github.com/dogescript.png","language":"JavaScript","readme":"![dogescript](doge.gif)\n\n## dogescript\n\n[![NPM version](https://badge.fury.io/js/dogescript.svg)](http://badge.fury.io/js/dogescript) [![Build Status](https://secure.travis-ci.org/dogescript/dogescript.svg?branch=master)](http://travis-ci.org/dogescript/dogescript) [![Dependency Status](https://david-dm.org/dogescript/dogescript.svg)](https://david-dm.org/dogescript/dogescript) [![devDependency Status](https://david-dm.org/dogescript/dogescript/dev-status.svg)](https://david-dm.org/dogescript/dogescript#info=devDependencies)\n\n\n\nThis is an implementation of the best new compile-to-JS language, dogescript. Wow.\n\nAnd yes, I am very aware I went about a very, er, *non-conventional*, way of parsing a language, and is probably riddled with bugs and edge-cases. However, this is dogescript, so anything goes!\n\n```\n    wow\n         such dogescript\n     very compiled\n                  next-generation\n       npm wow\n```\n\n\n### Installation\n\n`npm install -g dogescript`\n\n### Usage\n\n#### Command Line\n\n`dogescript` without a file launches a REPL.\n\n`dogescript location/to/dogescript.djs` pipes the result to stdout. Use a command like `dogescript dogescript.djs \u003e compiled.js` to save to a file.\n\nOptions:\n\n* `--beautify` - Runs the code through a beautifier.\n* `--true-doge` - Implements \"true doge\" mode, which splits lines by 3 spaces, instead of by newlines. This stays behind a flag until the spacing it exports is identical to non-true-doge mode. *Deprecated in 2.4.0, to be removed in 3.0.0*\n* `--run` - Runs the dogescript code\n\n#### Javascript\n\n`dogescript(file, beauty, trueDoge)`\n* `file` - A string of Dogescript.\n* `beauty` - A boolean, set to true if you want the output to be ran through a beautifier.\n* `trueDoge` - A boolean, set to true if you want to enable true-doge mode. *Deprecated in 2.4.0, to be removed in 3.0.0*\n\n#### REPL Commands\n\n* `.plz-load [path_to_doge]`: loads dogescript code in the given file and adds it to the REPL environment. For this example, *iota* is a function that produces a series from 0 to n, ie: `iota 5 =\u003e [0,1,2,3,4]`, and is defined in `repl-test/iota.djs`.\n* `.plz-exit`: exits the REPL environment and terminates the process. An alternative to `.exit`.\n\n**iota.djs**\n```djs\nsuch iota much n\n  very series is Array dose apply with null {length:n}\u0026\n  dose map with Number.call Number\nwow series\n```\n\n*Loaded and execute*\n```bash\nDOGE\u003e .plz-load repl-test/iota.djs\nDOGE\u003e undefined\nDOGE\u003e plz iota with 5\n[ 0, 1, 2, 3, 4 ]\nDOGE\u003e\n```\n\n### Language documentation\n\n* [`LANGUAGE.md`](/LANGUAGE.md)\n\n### Projects using dogescript\n\n* [Doge Adventure!](https://github.com/ngscheurich/doge-adventure): A text adventure game inspired by [leonsumbitches](http://dailydoge.tumblr.com/post/21839788086/leonsumbitches-you-have-encountered-a-doge).\n* [Doge Game of Life](https://github.com/eerwitt/doge-game-of-life): Conway's Game of Life in dogescript.\n* [doge-toe](https://github.com/alexdantas/doge-toe): Tic-Tac-Toe in dogescript.\n\n### Utilities\n\n#### Syntax highlighting\n\n* [vim-dogescript](https://github.com/valeriangalliat/vim-dogescript): Vim highlighting.\n* [dogescript-mode](https://github.com/alexdantas/dogescript-mode): Emacs highlighting.\n\n#### Build plugins\n\n* [dogeify](https://github.com/remixz/dogeify): A [Browserify](http://browserify.org/) transform for dogescript, also usable in [Gulp](https://github.com/gulpjs/gulp)\n* [dogescript-loader](https://github.com/Bartvds/dogescript-loader): A [Webpack](https://Webpack.github.io) loader to bundle dogescript modules.\n* [grunt-dogescript](https://github.com/Bartvds/grunt-dogescript): A [Grunt](http://gruntjs.com) plugin to compile dogescript (written in Dogescript!).\n* [require-doge](https://github.com/Bartvds/require-doge): Directly require() dogescript .djs files in [node.js](http://www.nodejs.org).\n* [lineman-dogescript](https://github.com/linemanjs/lineman-dogescript): A [Lineman](http://linemanjs.com/) plugin to compile dogescript.\n\n### Contributors\n\nDogescript was originally created by [Zach Bruggeman](https://twitter.com/zachbruggeman), and is now maintained by the [@dogescript/core](https://github.com/orgs/dogescript/people) team. Thank you to every contributor who's helped along the way!\n\n```\n$ git log --format='%aN' | sort -u\nAlistair Mersereau\nBart van der Schoor\nBartvds\nBen Atkin\nCassidy Bridges\nChad Engler\nChris Wheatley\nChristina Liu\nDaniel Lockhart\nElan Shanker\nErik Erwitt\nJacob Groundwater\nJan Monterrubio (AnEmortalKid)\nJoe Dailey\nJohann Philipp Strathausen\nJoseph Dailey\nMario Nachbaur\nNicholas Scheurich\nPatrick Piemonte\nPeter Carnesciali\nRay Toal\nZach Bruggeman\nachesak\nalehander42\nalistair.mersereau\ndogejs\njasdev\nnoformnocontent\n```\n\n## Community\n\nJoin us at [dogescript.slack.com](http://dogescript.slack.com). Since it is slack, you'll need an invite to the channel. Visit [this site to get invited](https://doge-invite.herokuapp.com/). The invite site is built with [slack-invite-automation](https://github.com/outsideris/slack-invite-automation) and is deployed to heroku. Since we are on the free tier, dyno's take a bit to load so give it at least 30 seconds to load the first time.\n","funding_links":[],"categories":["JavaScript","others","Funny"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogescript%2Fdogescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdogescript%2Fdogescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogescript%2Fdogescript/lists"}