{"id":19180232,"url":"https://github.com/d3dc/mmmm","last_synced_at":"2026-06-24T00:05:02.429Z","repository":{"id":69331855,"uuid":"131357363","full_name":"d3dc/Mmmm","owner":"d3dc","description":"A fantasy VM and javascript transpiler for Mmmm()","archived":false,"fork":false,"pushed_at":"2018-08-01T23:53:02.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T03:29:13.179Z","etag":null,"topics":["compiler","esoteric-language","fantasy-computer","repl","vm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d3dc.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":"2018-04-28T00:47:16.000Z","updated_at":"2024-12-16T01:55:04.000Z","dependencies_parsed_at":"2023-03-14T20:45:25.833Z","dependency_job_id":null,"html_url":"https://github.com/d3dc/Mmmm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3dc%2FMmmm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3dc%2FMmmm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3dc%2FMmmm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3dc%2FMmmm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d3dc","download_url":"https://codeload.github.com/d3dc/Mmmm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240258178,"owners_count":19772969,"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":["compiler","esoteric-language","fantasy-computer","repl","vm"],"created_at":"2024-11-09T10:48:32.067Z","updated_at":"2026-06-21T07:30:21.958Z","avatar_url":"https://github.com/d3dc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mmmm\n\n\u003e Mmmm() is an esoteric \"microlanguage\" by [SuperJedi224](https://github.com/SuperJedi224), inspired in part by Brainf***.\n\nThis repo currently provides a javascript runtime and repl for Mmmm(). It provides a `Script` type that creates a sandboxed environment bound to the Mmmm micro-VM.\n\nThe `Script` type should be able to be bound to different micro-machines and sub-classed to extend the interface.\n\nIn the future this repo will also provide a transpiler to compile simple ES5 javascript according to a micro-machine spec so you never actually have to write it.\n\n\n```Mmmm\nMmm=m[m.m()].m(m.m());\n\nMmmm=m[mm].m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();Mmmmm=mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();mmm.m();mmm.m();mmm.m();\nmmm.m();\n\nm[mmmm].m(mmm.m());\nm[mmmm].m(mmm.m());\n```\n\n## Quick Start\n\n- `$ npm install Mmmm`\n\n*Repl*\n\n- `$ Mmmm`\n\n*Compile to node module* (see [babel-cli](https://babeljs.io/docs/usage/cli/))\n\n- `$ Mmmm mmm.mmmmm -o mmm.js`\n\n\n## Background\n\nSuperJedi224's entire implementation can be found [here](http://jsfiddle.net/SuperJedi224/uLawt0jm/).\n\n## Goal\n\nI wanted to learn how to write a babel plugin for another gaming-related project.\n\nAfter playing with this and seeing how haskell or lisp-like it is, these micro-vms started to make sense.\nI've basically built a tiny hypervisor for sh*tty in-javascript VMs with a fun way to address them. I plan to integrate this concept into my gaming-related project.\n\n## TODO\n\n- [x] Script executes in private context\n- [x] Script can re-enter private context for REPL use\n- [x] Find a lightweight way to wrap a node repl\n  - [ ] restrict character usage\n  - [ ] interactive loop editing\n- [ ] transform-mmmm\n  - [ ] Emit Mmmm for nodetypes\n    - [ ] Literals\n      - [ ] Object\n      - [ ] Array\n    - [ ] Variables\n    - [ ] Statements\n    - [ ] Expressions\n  - [ ] Polyfill core emcascript features 😕\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3dc%2Fmmmm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3dc%2Fmmmm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3dc%2Fmmmm/lists"}