{"id":25528873,"url":"https://github.com/paladitya/compilerdesignlab","last_synced_at":"2025-04-11T07:52:29.575Z","repository":{"id":50557426,"uuid":"199054403","full_name":"PalAditya/CompilerDesignLab","owner":"PalAditya","description":"Code for Compiler Design Lab, Semester 7","archived":false,"fork":false,"pushed_at":"2019-11-03T06:41:26.000Z","size":4513,"stargazers_count":17,"open_issues_count":0,"forks_count":16,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-25T05:34:36.082Z","etag":null,"topics":["assembly-x86","bottom-up-parser","compiler-design","java-8","java-library","lalr-parser","lexical-parser","regex-to-dfa-java","regex-to-nfa","slr-parser","top-down-parser-with-backtracking"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/PalAditya.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}},"created_at":"2019-07-26T17:16:47.000Z","updated_at":"2024-06-19T20:09:14.000Z","dependencies_parsed_at":"2022-08-24T01:11:11.117Z","dependency_job_id":null,"html_url":"https://github.com/PalAditya/CompilerDesignLab","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/PalAditya%2FCompilerDesignLab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FCompilerDesignLab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FCompilerDesignLab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalAditya%2FCompilerDesignLab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PalAditya","download_url":"https://codeload.github.com/PalAditya/CompilerDesignLab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248359984,"owners_count":21090629,"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":["assembly-x86","bottom-up-parser","compiler-design","java-8","java-library","lalr-parser","lexical-parser","regex-to-dfa-java","regex-to-nfa","slr-parser","top-down-parser-with-backtracking"],"created_at":"2025-02-19T23:24:01.511Z","updated_at":"2025-04-11T07:52:29.555Z","avatar_url":"https://github.com/PalAditya.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CompilerDesignLab\nCode for Compiler Design Lab, Semester 7  \nWill contain **images** and **README** files for each assignment if possible.\n\nThe work is now available in the form of a library :smile:\n\nA basic usage of the library is as easy as follows:\n\n```java\nLR1Parser obj=new LR1Parser();//Create an instance of the desired parser-In this case LR1 type parser\nobj.read_grammar(\"D://Documents/Lab4/LR0.txt\");//Read the grammar file\nobj.buildDFA();//Build a dfa from the file\nSystem.out.println(obj.states);//Prints the transitions in all states\nobj.print_transitions();//Print all the transitions\nobj.getParsingTable(true);//Use false to avoid printing the table after creation\nobj.parse(\"a c e\",true);//Parse the string; use false to prevent the stack actions from displaying on screen\n```\nPlease move to [docs](Parser_Library/README.md) for a full understanding of the library.  \n\nFor **release** build:\n\n```java\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.PalAditya\u003c/groupId\u003e\n  \u003cartifactId\u003eparser-library\u003c/artifactId\u003e\n  \u003cversion\u003e0.1.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor **snapshot** build:\n\n```java\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.PalAditya\u003c/groupId\u003e\n  \u003cartifactId\u003eparser-library\u003c/artifactId\u003e\n  \u003cversion\u003e0.1-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIn case you want the pre-release (latest) versions, you can download it manually from [here](https://oss.sonatype.org/content/repositories/central_bundles-18962/io/github/PalAditya/parser-library/0.1.1/)  \n\n**Note**: This is not being maintained anymore. Please see [here](https://github.com/PalAditya/JParser) to get the latest version of the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaladitya%2Fcompilerdesignlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaladitya%2Fcompilerdesignlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaladitya%2Fcompilerdesignlab/lists"}