{"id":15954911,"url":"https://github.com/aneveux/funktional-parser","last_synced_at":"2025-04-04T06:43:43.357Z","repository":{"id":37260859,"uuid":"252241756","full_name":"aneveux/funktional-parser","owner":"aneveux","description":"🔍 Simple implementation of a functional parser allowing to compute calculation expressions.","archived":false,"fork":false,"pushed_at":"2022-06-20T22:44:49.000Z","size":34,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T18:14:38.344Z","etag":null,"topics":["exercise","functional","kotlin","parser"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/aneveux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-01T17:25:08.000Z","updated_at":"2021-09-30T11:50:27.000Z","dependencies_parsed_at":"2022-08-24T15:50:51.748Z","dependency_job_id":null,"html_url":"https://github.com/aneveux/funktional-parser","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/aneveux%2Ffunktional-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneveux%2Ffunktional-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneveux%2Ffunktional-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneveux%2Ffunktional-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneveux","download_url":"https://codeload.github.com/aneveux/funktional-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135126,"owners_count":20889420,"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":["exercise","functional","kotlin","parser"],"created_at":"2024-10-07T13:20:33.163Z","updated_at":"2025-04-04T06:43:43.341Z","avatar_url":"https://github.com/aneveux.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"\" rel=\"noopener\"\u003e\n \u003cimg width=200px height=200px src=\"https://image.flaticon.com/icons/svg/1998/1998693.svg\" alt=\"Funktional Parser\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eFunktional Parser\u003c/h3\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n    This project is a Kotlin implementation of a functional parser, mainly made for practicing with development techniques and learning about new things.\n\u003c/p\u003e\n\n## 📝 Table of Contents\n- [About](#about)\n- [Getting Started](#getting_started)\n- [Deployment](#deployment)\n- [Usage](#usage)\n- [Built Using](#built_using)\n- [TODO](../TODO.md)\n- [Contributing](../CONTRIBUTING.md)\n- [Authors](#authors)\n- [Acknowledgments](#acknowledgement)\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\n\nThis small project is an idea from @jmdesprez: implementing in Kotlin a functional parser as presented in [that Youtube video](https://youtu.be/dDtZLm7HIJs).\n\nIn the video, the presented parser is implemented in Haskell. Our goal with Jean-Marc was to implement a similar kind of parser in Kotlin.\n\nThe aim of the parser we're developing is actually fairly simple: it should allow to parse expressions such as `(1+3*(2+4)*2+4-(2*4))` and be able to calculate the actual result. The parser computation should also validate the expression by parsing only things which are allowed.\n\n## 🏁 Getting Started \u003ca name = \"getting_started\"\u003e\u003c/a\u003e\n\nIf you'd like to discover what we did or play a bit with the source code as well, you can have a look at our test file located in `src/test/kotlin` to understand how we built our parser.\n\nThe actual implementation is located in `src/main/kotlin`.\n\nDo not hesitate to have a look at each commit to understand the evolution of the parser. Each brick has been added in a dedicated commit.\n\n### Prerequisites\n\nWe decided to stick with the basic Kotlin SDK, and KotlinTest for writing our unit tests.\n\n### Installing\n\nThis project retrieves its dependencies from Maven. We developed it using IntelliJ IDEA. There's basically nothing much needed for running the project or contributing to it.\n\n## 🔧 Running the tests \u003ca name = \"tests\"\u003e\u003c/a\u003e\n\nSimply running `mvn test` should be sufficient to execute the unit tests.\n\n## 🎈 Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\n\nWe do not recommend to use the functions we developed in a production project since they're completely dedicated to our practice exercise.\n\nBut you can use our functions or code to write your own parser or practice yourself.\n\n## 🚀 Deployment \u003ca name = \"deployment\"\u003e\u003c/a\u003e\n\nThe project won't be deployed anywhere, and we'll just share the source code here on GitHub.\n\n## ⛏️ Built Using \u003ca name = \"built_using\"\u003e\u003c/a\u003e\n\n- [Kotlin](https://kotlinlang.org/)\n- [KotlinTest](https://github.com/kotest/kotest)\n\n## ✍️ Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\n\n- [@aneveux](https://github.com/aneveux)\n- [@jmdesprez](https://github.com/jmdesprez)\n\n## 🎉 Acknowledgements \u003ca name = \"acknowledgement\"\u003e\u003c/a\u003e\n\n- [Professor Graham Hutton for his explanations and presentation](https://youtu.be/dDtZLm7HIJs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneveux%2Ffunktional-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneveux%2Ffunktional-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneveux%2Ffunktional-parser/lists"}