{"id":21071349,"url":"https://github.com/acontenti/portanuova","last_synced_at":"2025-03-14T02:46:19.766Z","repository":{"id":82251371,"uuid":"74819825","full_name":"acontenti/PortaNuova","owner":"acontenti","description":"Esoteric programming laguage set in Turin Metro","archived":false,"fork":false,"pushed_at":"2017-08-18T23:14:46.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T22:09:31.811Z","etag":null,"topics":["esoteric-language","esoteric-programming-language","mornington-crescent","porta-nuova","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/acontenti.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":"2016-11-26T10:46:47.000Z","updated_at":"2020-10-31T16:33:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f06803f-5c05-4927-8e90-f267ea2f0a1b","html_url":"https://github.com/acontenti/PortaNuova","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/acontenti%2FPortaNuova","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acontenti%2FPortaNuova/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acontenti%2FPortaNuova/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acontenti%2FPortaNuova/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acontenti","download_url":"https://codeload.github.com/acontenti/PortaNuova/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243514948,"owners_count":20303226,"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":["esoteric-language","esoteric-programming-language","mornington-crescent","porta-nuova","ruby"],"created_at":"2024-11-19T18:52:07.071Z","updated_at":"2025-03-14T02:46:19.727Z","avatar_url":"https://github.com/acontenti.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Porta Nuova\n\nEsoteric programming laguage inspired by \"Mornington Crescent\" language, but set in Turin Metro.\nIt is named after \"Porta Nuova\" metro station, which is the fulcrum of Turin Metro.\n\n## Rules\n\nIn **Porta Nuova** you travel around **stations** in Turin Metro.  \nYou travel with a **backpack** that can hold **values**.\nEach **station** has a **value** and performs some action on **backpack** **values** and/or **station** **value**.\n**Stations** are on different **lines** and you can only change in **interchange stations**.  \n\n### Backpack\n\nInitially the **backpack** holds two **values** `0` and `''` (empty string).  \nThe number of **values** can change in some **stations** like `Porta Susa` and `Rebaudengo`.  \n\n### Lines\n\nThere are two **lines**: `1` and `2`.  \nYou can change between them in `Porta Nuova` **station**, which is the only interchange **station** in the system.  \n\n#### Line 1\n\n- `Cascine Vica`\n- `Leumann`\n- `Collegno Centro`\n- `Certosa`\n- `Fermi`\n- `Paradiso`\n- `Marche`\n- `Massaua`\n- `Pozzo Strada`\n- `Monte Grappa`\n- `Rivoli`\n- `Racconigi`\n- `Bernini`\n- `Principi d'Acaja`\n- `XVIII Dicembre`\n- `Porta Susa`\n- `Vinzaglio`\n- `Re Umberto`\n- `Porta Nuova`\n    - Interchange **station** for **lines** `1` and `2`\n    - Holds a **reference** to last visited **station**, used not to loose last **station** **reference** when you need to change **line**\n- `Marconi`\n- `Nizza`\n- `Dante`\n- `Carducci-Molinette`\n- `Spezia`\n- `Lingotto`\n- `Italia '61`\n- `Bengasi`\n\n#### Line 2\n\n- `Pasta di Rivalta`\n- `Orbassano Centro`\n- `Beinasco Centro`\n- `Fornaci`\n- `Cimitero Parco`\n- `Mirafiori`\n- `Cattaneo`\n- `Omero`\n- `Pitagora`\n- `Parco Rignon`\n- `Santa Rita`\n- `Gessi`\n- `Largo Orbassano`\n- `Caboto`\n- `Politecnico`\n- `Stati Uniti`\n- `Porta Nuova`\n    - Interchange **station** for **lines** `1` and `2`\n    - Holds a **reference** to last visited **station**, used not to loose last **station** **reference** when you need to change **line**\n- `Solferino`\n- `Castello`\n- `Regina Margherita`\n- `Verona`\n- `Novara`\n- `Regio Parco`\n- `Zanella`\n- `Tabacchi`\n- `Cherubini`\n- `Paisiello`\n- `Giulio Cesare`\n- `Vercelli`\n- `Rebaudengo`\n\n### Directions\n\n**Directions** indicate where to go.  \nYou have to specify a **line** and a **station**.  \nYou can give **directions** this way:\n```\nprendi la linea \u003cline\u003e fino a \u003cstation\u003e\n```\n\n### Shortcuts\n\nYou can imagine **shortcuts** as functions in other programming languages.\n\nYou can define a **shortcut** this way:\n```\nper prendere la scorciatoia \u003cname\u003e\n...\n\u003cdirections\u003e\n...\nsei arrivato\n```\n\n**Shortcuts** can have a **parameter**, but it is optional. Like this:\n```\nper prendere la scorciatoia \u003cname\u003e con un \u003cparameter name\u003e\n...\n\u003cdirections\u003e\n...\nsei arrivato\n```\n\nYou can take a **shortcut** this way:\n```\nprendi la scorciatoia \u003cname\u003e\n```\nOf course if the **shortcut** has a **parameter**, you have to pass a **value**. This way:\n```\nprendi la scorciatoia \u003cname\u003e con \u003cvalue\u003e\n```\n\n## Copyright\n\n\tCopyright © 2016 Alessandro Contenti. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facontenti%2Fportanuova","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facontenti%2Fportanuova","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facontenti%2Fportanuova/lists"}