{"id":13846337,"url":"https://github.com/rofl0r/order-pp","last_synced_at":"2025-03-17T04:33:49.703Z","repository":{"id":2747612,"uuid":"3743922","full_name":"rofl0r/order-pp","owner":"rofl0r","description":"order-pp preprocessor library (standalone part of chaos-pp)","archived":false,"fork":false,"pushed_at":"2021-09-03T08:20:41.000Z","size":977,"stargazers_count":102,"open_issues_count":2,"forks_count":13,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-02-17T10:35:33.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"chaos-pp.sf.net","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rofl0r.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}},"created_at":"2012-03-16T23:02:50.000Z","updated_at":"2024-01-20T11:36:39.000Z","dependencies_parsed_at":"2022-08-18T00:35:30.290Z","dependency_job_id":null,"html_url":"https://github.com/rofl0r/order-pp","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/rofl0r%2Forder-pp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Forder-pp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Forder-pp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Forder-pp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rofl0r","download_url":"https://codeload.github.com/rofl0r/order-pp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243842144,"owners_count":20356612,"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-04T18:00:30.389Z","updated_at":"2025-03-17T04:33:49.369Z","avatar_url":"https://github.com/rofl0r.png","language":"C","funding_links":[],"categories":["Metaprogramming frameworks"],"sub_categories":[],"readme":"The Order Metalanguage for C Preprocessor Metaprogramming\n=========================================================\n\nFrom the preface I wrote years ago:\n\n\u003e Order grew out of my interest in the design of programming languages and\n\u003e metaprogramming as well as desire to make something original, fascinating and\n\u003e beautiful.  My work on the\n\u003e [Boost Preprocessor](http://www.boost.org/doc/libs/1_55_0/libs/preprocessor/doc/index.html)-library\n\u003e had left me unsatisfied.  While it was clear to me that it could theoretically\n\u003e be used to implement *useful* non-trivial metaprograms, it would have been\n\u003e quite tedious work, full of nasty little details and limitations to trip you\n\u003e up.  I considered the prospects for further enhancements to the library, but\n\u003e it didn't seem possible to provide a programming model that I would have\n\u003e considered pleasant to think in.  It occured to me that instead of attempting\n\u003e to provide semimodular enhancements on top of the C preprocessor in a\n\u003e bottom-up fashion, it might be possible to lift the limitations by designing a\n\u003e complete monolithic interpreter for a high-level source language in a top-down\n\u003e fashion.  After some experiments at interpreting lambda-calculus and a couple\n\u003e of prototype interpreters for early versions of the Order language, I was left\n\u003e with a feeling that it would be too inefficient to be practical.  The most\n\u003e serious limitation seemed to be the inability of the early prototypes to\n\u003e generate arbitrary output efficiently.  I decided to forget about the\n\u003e interpreter and move on, but the work proved too interesting for me to forget\n\u003e completely.  Over a long period of time I found several small incremental\n\u003e improvements to the interpreter until it suddenly started to look like more\n\u003e than a theoretical curiosity.  Then I knew I just had to finish the work.\n\u003e Hopefully everyone will be able to find some beauty in the result.  At least I\n\u003e know I've had a lot of fun designing the language.\n\nVesa Karvonen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofl0r%2Forder-pp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frofl0r%2Forder-pp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofl0r%2Forder-pp/lists"}