{"id":20326075,"url":"https://github.com/bkosm/finite-automaton-generator","last_synced_at":"2025-07-26T11:39:54.265Z","repository":{"id":115107246,"uuid":"217906461","full_name":"bkosm/finite-automaton-generator","owner":"bkosm","description":"Command line tool for generating JFLAP files containing random FA's.","archived":false,"fork":false,"pushed_at":"2019-11-05T20:45:00.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T14:32:32.975Z","etag":null,"topics":["finite-automata","jflap","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/bkosm.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}},"created_at":"2019-10-27T19:37:44.000Z","updated_at":"2023-03-08T23:25:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"46e2afbc-fd32-4522-97cd-857c4f4d7be8","html_url":"https://github.com/bkosm/finite-automaton-generator","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/bkosm%2Ffinite-automaton-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Ffinite-automaton-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Ffinite-automaton-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Ffinite-automaton-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkosm","download_url":"https://codeload.github.com/bkosm/finite-automaton-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241835718,"owners_count":20028140,"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":["finite-automata","jflap","python"],"created_at":"2024-11-14T19:42:48.950Z","updated_at":"2025-03-04T10:40:49.846Z","avatar_url":"https://github.com/bkosm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Finite Automata Generator\nCommand line tool for generating JFLAP  '.jff' files containing random FA's.\n```\nusage: fa_generator.py [-h] [-n N] [-fs N] [-a [A [A ...]]] [-fn xxx.jff]\n                       [--interesting]\n\nGenerate a finite automata\n\noptional arguments:\n  -h, --help      show this help message and exit\n  -n N            Number of states\n  -fs N           Number of final states\n  -a [A [A ...]]  List of possible words to consume on hops\n  -fn xxx.jff     Output XML filename\n  --interesting   Generate an example with a more interesting accepted word\n```\n# Converter\nCommand line tool for translating simple automatas from XML files into GraphViz and vice versa.\n```\nusage: converter.py [-h] [-ox xxx.(xml|jff)] [-og xxx.gv] input_file.ext\n\nConvert xml described automatas to graphviz and vice versa\n\npositional arguments:\n  input_file.ext     Input filename\n\noptional arguments:\n  -h, --help         show this help message and exit\n  -ox xxx.(xml|jff)  Output xml filename\n  -og xxx.gv         Output graphviz filename\n```\n### Converter note\n- GraphViz files are required to have each edge labeled with an accepted word.\n- GraphViz graph's initial node is distinguished by being pointed at by a dot labeled \"q\".\n\nExample convertable file below:\n```ex.gv\ndigraph ex {\nq -\u003e q0                   // initial node\nq0 -\u003e q1 [label= \"abc\"];  // labeled edge\nq [shape=point]           // initial node pointer\nq1 [shape=doublecircle]   // final node indicator\n}\n```\n\n\n\u003e Bartosz Kosmala 2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkosm%2Ffinite-automaton-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkosm%2Ffinite-automaton-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkosm%2Ffinite-automaton-generator/lists"}