{"id":26671430,"url":"https://github.com/lugolbis/lumo","last_synced_at":"2026-04-16T22:31:05.664Z","repository":{"id":274004730,"uuid":"919554515","full_name":"LugolBis/lumo","owner":"LugolBis","description":"Command line tool for Automaton","archived":false,"fork":false,"pushed_at":"2025-02-03T15:34:31.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T22:02:00.607Z","etag":null,"topics":["automaton","automaton-theory","bash","bash-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/LugolBis.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-20T15:52:39.000Z","updated_at":"2025-07-28T19:12:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"96dcf3bd-c6b6-48e8-ae58-69f3f99db5d9","html_url":"https://github.com/LugolBis/lumo","commit_stats":null,"previous_names":["lugolbis/lumo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LugolBis/lumo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LugolBis%2Flumo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LugolBis%2Flumo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LugolBis%2Flumo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LugolBis%2Flumo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LugolBis","download_url":"https://codeload.github.com/LugolBis/lumo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LugolBis%2Flumo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automaton","automaton-theory","bash","bash-script"],"created_at":"2025-03-25T23:50:17.834Z","updated_at":"2026-04-16T22:31:05.641Z","avatar_url":"https://github.com/LugolBis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lumo\r\n## Project Objective :\r\nThe objective of this **personal** project is to develop an application allowing the users to manipulate **Deterministic finite automaton** (**DFA**) on their terminal.\r\n\u003cbr\u003e\r\nThis data structure from programming language theory makes it possible to determine whether a word belongs to a language.\r\n\r\n## Configure :\r\nClone the repository (or download it) :\r\n```Bash\r\ngit clone https://github.com/LugolBis/lumo.git\r\n```\r\nOpen your terminal in the folder lumo.\r\n\u003cbr\u003e\r\nExecute the following command to configure the command ```lumo``` :\r\n```Bash\r\nmake config\r\n```\r\n## Formats :\r\n\u003e [!Important]\r\n\u003e - The file containing the automata must be formatted as follows :\r\n\u003e   \u003cbr\u003eLine 1 : The letters of the alphabet, separated from each other by a space.\r\n\u003e   \u003cbr\u003eLine 2 : The states of the automata, separated from each other by a space.\r\n\u003e   \u003cbr\u003eLine 3 : The initial state.\r\n\u003e   \u003cbr\u003eLine 4 : The finals states, separated from each other by a space.\r\n\u003e   \u003cbr\u003eLine 5 : The transitions, separated from each other by a space.\r\n\u003e   \u003cbr\u003eExemple of the format of a transition : q0-a-q1\r\n\u003e - Epsilon transitions are reprsesented as the following example : q0-epsilon-q1\r\n\u003e - The states formed from several states are formalized as follows : {q0} U {q1} -\u003e q0;q1\r\n\r\n## How to use :\r\n### Flags usage :\r\n- **-w**     : Take in argument the word you want to recognize with the automata.\r\n- **-in**    : Take in argument the path of the file that contains an automata.\r\n- **-out**   : Take in argument the path to save the finite deterministic and complete automata.\r\n- **-union** : Take in argument the path of the file that contains the automata that you want to union with the automata from the flag -in.\r\n- **-comp**  : Take nothing in argument, this flag realize the complementary of the automata.\r\n### Examples :\r\n- To check if a *abc* is recognized by the automata contained in *path/to/file.txt* you can do that :\r\n  ```Bash\r\n  lumo abc path/to/file.txt\r\n  ```\r\n  or\r\n  ```Bash\r\n  lumo -in path/to/file.txt -w abc\r\n  ```\r\n\u003e [!WARNING]\r\n\u003e If you want to test with the epsilon word you can do that :\r\n\u003e ```Bash\r\n\u003e lumo -w \"\" -in path/to/file.txt\r\n\u003e ```\r\n- To save the new automata from the *file1* to the *file2* you can do that :\r\n  ```Bash\r\n  lumo \"\" file1 file2\r\n  ```\r\n  or\r\n  ```Bash\r\n  lumo \"\" -in file1 -out file2\r\n  ```\r\n- To realize the union of A1 U A2 you can do that :\r\n  ```Bash\r\n  lumo \"\" -in A1.txt -union A2.txt -out union.txt\r\n  ```\r\n- To realize the complementary of the automata :\r\n  ```Bash\r\n  lumo \"\" -comp\r\n  ```\r\n\r\n## Requirements\r\n| OS | Shell | Compatibility |\r\n|:-:|:-:|:-:|\r\n| Type Unix\u003cbr\u003e(Linux/MacOS) | Bash | ✅ |\r\n| ~ | ~ | ❌ |\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flugolbis%2Flumo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flugolbis%2Flumo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flugolbis%2Flumo/lists"}