{"id":16984054,"url":"https://github.com/drdeano/backwards","last_synced_at":"2025-03-22T00:45:18.097Z","repository":{"id":82955023,"uuid":"162623043","full_name":"DrDeano/backwards","owner":"DrDeano","description":"A backwards programming language","archived":false,"fork":false,"pushed_at":"2019-01-02T12:35:15.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T19:11:26.897Z","etag":null,"topics":["backwards","languages","new-language","programming-language"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/DrDeano.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":"2018-12-20T19:28:49.000Z","updated_at":"2022-08-21T18:00:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab91999e-74a0-4aed-b500-3eacecfca8b1","html_url":"https://github.com/DrDeano/backwards","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/DrDeano%2Fbackwards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrDeano%2Fbackwards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrDeano%2Fbackwards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrDeano%2Fbackwards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrDeano","download_url":"https://codeload.github.com/DrDeano/backwards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890089,"owners_count":20527031,"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":["backwards","languages","new-language","programming-language"],"created_at":"2024-10-14T02:29:58.622Z","updated_at":"2025-03-22T00:45:18.077Z","avatar_url":"https://github.com/DrDeano.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backwards\n\nA backwards programming language. If you can understand this, your a god.\n\n## Purpose\n\nThis is not to be intended as a real programming language, but I'm not stopping you for using it. Spread the love. This is for me to learn how a programming language is created. I'll be writing a lexer, parser, type checking and interpreter. This maybe be integrated into my operating system, DeanOS.\n\n## Features/How to\n\n- The function body will be exaluated before the arguments, like in Haskell\n- Statements end in a semi-colon\n- Assignment is left to right, so asigning 5 to a variable, you would do:\n```backwards\n5 := five;\n```\n- Function applications are arguments then function name:\n```backwards\n(5)fib;\n```\n- Code is executed upwards, so the following will do an assignment then print:\n```backwards\n(five)print;\n5 := five;\n```\nSo u will read the program from bottome to top\n- Indendting is reverces where instead of indenting a line within a if or for... statment, u will have to indent the whole program:\n```backwards\n {\nreturn n;\n } if n \u003c 2\n```\n- To make it even more backwards, the indenting doubles with each indent. It starts off at 1 then 2 then 3 and so on, so here is an example:\n```backwards\n        { // 8 spaces\n    { // 4 spaces\n  { // 2 spaces\n { // 1 spaces\n(\"two\")print;\n } if i \u003e 1\n  } if i \u003e 3\n    } (0 := int: i, i \u003c 5, i++) for\n        } ()main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrdeano%2Fbackwards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrdeano%2Fbackwards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrdeano%2Fbackwards/lists"}