{"id":15494944,"url":"https://github.com/fracpete/parsergen-maven-plugin","last_synced_at":"2025-08-08T06:12:23.699Z","repository":{"id":144520040,"uuid":"260326802","full_name":"fracpete/parsergen-maven-plugin","owner":"fracpete","description":"Maven plugin for generating parsers using JavaCup and JFlex.","archived":false,"fork":false,"pushed_at":"2020-04-30T23:38:24.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T21:11:31.428Z","etag":null,"topics":["javacup","jflex","maven-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","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/fracpete.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-30T21:57:40.000Z","updated_at":"2020-04-30T23:41:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a31c553-4b32-4c83-9851-00951d610674","html_url":"https://github.com/fracpete/parsergen-maven-plugin","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"1f2103b1a59ee42c4356bc8c5a943021e3a71d69"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fparsergen-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fparsergen-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fparsergen-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fracpete%2Fparsergen-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fracpete","download_url":"https://codeload.github.com/fracpete/parsergen-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123087,"owners_count":20887261,"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":["javacup","jflex","maven-plugin"],"created_at":"2024-10-02T08:15:38.723Z","updated_at":"2025-04-04T05:13:39.737Z","avatar_url":"https://github.com/fracpete.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parsergen-maven-plugin\nMaven plugin for generating parsers using JavaCup and JFlex.\n\nCurrently based on:\n* [JavaCup](http://www2.cs.tum.edu/projects/cup/): 11b-20160615\n* [JFlex](https://jflex.de/): 1.4.3\n\n\n## Example\n\nAssuming you have your `Scanner.flex` and `Parser.cup` files in the following \ndirectory:\n\n```\nsrc/main/resources/my/project/parser\n```\n\nThen use the following plugin definition in the `build` section of you your \n`pom.xml` file:\n\n```xml\n  \u003cbuild\u003e\n    \u003cplugins\u003e\n      \u003cplugin\u003e\n        \u003cgroupId\u003ecom.github.fracpete\u003c/groupId\u003e\n        \u003cartifactId\u003eparsergen-maven-plugin\u003c/artifactId\u003e\n        \u003cversion\u003e0.0.1\u003c/version\u003e\n        \u003cconfiguration\u003e\n          \u003cdirectories\u003e\n            \u003cdirectory\u003e${project.basedir}/src/main/resources/my/project/parser\u003c/directory\u003e\n          \u003c/directories\u003e\n        \u003c/configuration\u003e\n      \u003c/plugin\u003e\n    \u003c/plugins\u003e\n  \u003c/build\u003e\n```\n\nUsing `mvn parsergen:build` will place the generated Java code of the parser\nin package `my.project.parser` (the corresponding directory to `resources/my/project/parser`\nis `java/my/project/parser`).\n\n**Note:** The `directory` tag can be supplied multiple times, in case you need\nto compile multiple parsers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Fparsergen-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffracpete%2Fparsergen-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffracpete%2Fparsergen-maven-plugin/lists"}