{"id":28051531,"url":"https://github.com/tanish-pat/programming_languages_project","last_synced_at":"2026-05-05T21:31:31.492Z","repository":{"id":288205009,"uuid":"966937142","full_name":"Tanish-pat/Programming_Languages_Project","owner":"Tanish-pat","description":"Leveraging Meta Programming Using Functional Programming","archived":false,"fork":false,"pushed_at":"2025-05-01T18:15:19.000Z","size":34904,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T01:54:59.746Z","etag":null,"topics":["cabal","haskell","nextjs","stack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tanish-pat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-04-15T17:15:23.000Z","updated_at":"2025-05-01T18:15:23.000Z","dependencies_parsed_at":"2025-04-23T08:21:11.161Z","dependency_job_id":null,"html_url":"https://github.com/Tanish-pat/Programming_Languages_Project","commit_stats":null,"previous_names":["tanish-pat/programming_languages_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanish-pat%2FProgramming_Languages_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanish-pat%2FProgramming_Languages_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanish-pat%2FProgramming_Languages_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanish-pat%2FProgramming_Languages_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tanish-pat","download_url":"https://codeload.github.com/Tanish-pat/Programming_Languages_Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253660837,"owners_count":21943823,"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":["cabal","haskell","nextjs","stack"],"created_at":"2025-05-12T01:55:03.777Z","updated_at":"2026-05-05T21:31:31.463Z","avatar_url":"https://github.com/Tanish-pat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Leveraging Meta-Programming in Functional Programming\n\nWelcome to our course project for *Programming Languages* at IIT Ropar!  \nThis repository demonstrates how **meta-programming** can be applied effectively in a **functional programming** language — specifically **Haskell**. We explore both compile-time and runtime meta-programming constructs using first-class functions, closures, and dynamic pipelines.\n\n---\n\n## 📚 Table of Contents\n\n- [About the Project](#about-the-project)\n- [Key Concepts](#key-concepts)\n- [Repository Structure](#repository-structure)\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n- [Demo](#demo)\n- [Project Report](#project-report)\n- [Team Members](#team-members)\n- [License](#license)\n- [Acknowledgements](#acknowledgements)\n\n---\n\n## 📌 About the Project\n\nThe project titled **\"Leveraging Meta-Programming in Functional Programming\"** focuses on building a **dynamic pipeline system** in Haskell. Users can construct a sequence of transformations at runtime and apply them to input data. \n\nWe leverage:\n- Higher-order functions\n- Pure functional design\n- Runtime configuration of function pipelines\n- Planned support for ASCII visualization and persistent configuration\n\nThis project reflects how powerful functional programming can be when extended with meta-programming concepts typically associated with languages like Lisp, Python, or C++.\n\n---\n\n## 🧠 Key Concepts\n\n| Concept | Description |\n|--------|-------------|\n| **First-Class Functions** | Functions are treated as values, passed and returned like any other data. |\n| **Closures** | Functions can capture variables from their enclosing scope. |\n| **Function Composition** | Ability to compose multiple transformations cleanly and modularly. |\n| **Meta-Programming** | Writing programs that generate, modify, or orchestrate other programs. |\n| **Dynamic Pipelines** | Construct transformation pipelines interactively at runtime. |\n\n---\n\n## 📁 Repository Structure\n```plaintext\nProgramming_Languages_Project/\n├── Inventory/                  # Main code for the pipeline system\n│   ├── Main.hs                # Entry point\n│   ├── Transformations.hs     # Custom string transformation functions\n│   └── Utils.hs               # Helper functions for pipeline processing\n├── docs/                      # LaTeX report and documentation\n│   └── project_report.tex\n├── demo/                      # Example inputs and output logs\n├── LICENSE\n└── README.md                  # Project readme (this file)\n```\n---\n\n## ⚙️ Getting Started\n\n### 1. Prerequisites\n\nEnsure you have Haskell installed:\n\n```bash\nsudo apt install ghc cabal-install\nOr install via https://www.haskell.org/\n```\n\n### 2. Clone the Repository\n\n```bash\ngit clone https://github.com/Tanish-pat/Programming_Languages_Project.git\ncd Programming_Languages_Project/Inventory\n```\n\n### 3. Compile \u0026 Run\n\n```bash\nchmod + deploy.sh\n./deploy.sh\ncd frontend\nnpm install --legacy-peer-deps\nPORT=3001 npm run dev\n```\n\n## 📖 Project Report\n\nThe full report detailing our motivation, design, theory, and implementation is available in the docs/ folder.\n\nTopics covered:\n\t•\tWhat is meta-programming?\n\t•\tHaskell vs. other languages for meta-programming\n\t•\tDesign of the pipeline engine\n\t•\tCode walk-through and evaluation\n\t•\tLimitations and future improvements\n\n\n## 🧑‍💻 Team Members\n\t•\tRutul Patel\n\t•\tHemang Seth\n\t•\tTanish Pathania\n\n ## 🔮 Future Work\n\t•\tAdd persistent configuration with SQLite\n\t•\tEnable CLI flag parsing and JSON-based pipelines\n\t•\tAnimate pipeline flow using ASCII graphics\n\t•\tAdd support for custom user-defined functions at runtime\n\n ## 🙌 Acknowledgements\n \t•\tOpen-source Haskell community\n   \t•\tSujit Sir \n\t•\tOur course instructor and TAs for their guidance\n \t\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanish-pat%2Fprogramming_languages_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanish-pat%2Fprogramming_languages_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanish-pat%2Fprogramming_languages_project/lists"}