{"id":25169916,"url":"https://github.com/cburschka/modod","last_synced_at":"2026-02-06T14:15:22.053Z","repository":{"id":19984822,"uuid":"23251991","full_name":"cburschka/modod","owner":"cburschka","description":"Manipulation Operations Designed Only for Deterministic Regular Expressions","archived":false,"fork":false,"pushed_at":"2014-08-23T08:53:31.000Z","size":616,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T08:36:51.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cburschka.png","metadata":{"files":{"readme":"README-dtd.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-23T08:52:11.000Z","updated_at":"2014-08-23T08:53:32.000Z","dependencies_parsed_at":"2022-08-27T01:52:31.331Z","dependency_job_id":null,"html_url":"https://github.com/cburschka/modod","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/cburschka%2Fmodod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburschka%2Fmodod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburschka%2Fmodod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburschka%2Fmodod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cburschka","download_url":"https://codeload.github.com/cburschka/modod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247072149,"owners_count":20878838,"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":[],"created_at":"2025-02-09T08:36:54.400Z","updated_at":"2026-02-06T14:15:17.025Z","avatar_url":"https://github.com/cburschka.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"usage: dtd.py [-h] [-a [AUTPREFIX]] [-c] [-co] [-d]\n              [-e ELEMENTS [ELEMENTS ...]] [-j] [-n] [-s] [-u] [-we] [-wep]\n              [-wes]\n              files [files ...]\n\nThis tool takes a list of XML files and computes a DTD.\n\npositional arguments:\n  files                 the XML file(s) from which the element type\n                        declarations are to be inferred\n\noptional arguments for regular users:\n  -h, --help            show this help message and exit\n  -c, --chare           infer a chain regular expression, instead of a single\n                        occurrence regular expression (the former are flatter\n                        than the latter)\n  -d, --dre             write output as deterministic regular expression,\n                        instead of an element type declaration (also activates\n                        -j)\n  -e ELEMENTS [ELEMENTS ...], --elements ELEMENTS [ELEMENTS ...]\n                        determines for which element names an element type\n                        declaration is inferred\n  -j, --just-elements   do not put the DOCTYPE declaration around the element\n                        tags\n  -s, --skip-empty      do not display declarations of elements that have no\n                        childer\n  -u, --ugly            do not use prettification algorithm\n\nDefault is inferring an element type definition for every element in the\nfiles. If you want to compute this for only some elements, use the -e flag. If\nyou want to exclude elements that have empty definitions, use the -s flag. \n\noptional arguments for users who want to run tests or care about the theory:\n-a [AUTPREFIX], --automaton [AUTPREFIX]\n                       for every element E, the inferred SOA is written to\n                       the file AUTPREFIX E.dot in the dot-format of Graphviz\n-co, --counts          display how often elements occur\n-n, --no-inference     do not infer element type declarations (only useful if\n                       -a is used as well)\n-t, --time-stamps      includes some timestamps (for very elementary profiling) \n-v, --verbose          print additional information\n-we, --write-elements  for every element E, write the inferred DTD/regular\n                       expression to a file WPREFIX E.WSUFFIX (definable by\n                       -wp,-ws)\n-wep, --write-prefix  sets WPREFIXe (for -we), default empty\n-wes, --write-suffix  sets WPREFIXe (for -we), default .dtd\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcburschka%2Fmodod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcburschka%2Fmodod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcburschka%2Fmodod/lists"}