{"id":20323863,"url":"https://github.com/tangenta/xlex","last_synced_at":"2025-08-10T23:33:49.971Z","repository":{"id":103188205,"uuid":"163722213","full_name":"tangenta/XLex","owner":"tangenta","description":"XLex translates regex into NFA, DFA and C program snippets","archived":false,"fork":false,"pushed_at":"2019-01-01T08:02:39.000Z","size":558,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T14:13:51.871Z","etag":null,"topics":["dfa","lexer","nfa"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/tangenta.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":"2019-01-01T08:01:17.000Z","updated_at":"2021-01-18T14:20:22.000Z","dependencies_parsed_at":"2023-03-13T15:09:19.445Z","dependency_job_id":null,"html_url":"https://github.com/tangenta/XLex","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/tangenta%2FXLex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangenta%2FXLex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangenta%2FXLex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangenta%2FXLex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangenta","download_url":"https://codeload.github.com/tangenta/XLex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241827168,"owners_count":20026601,"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":["dfa","lexer","nfa"],"created_at":"2024-11-14T19:30:05.316Z","updated_at":"2025-03-04T10:17:07.595Z","avatar_url":"https://github.com/tangenta.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"## XLex——词法分析程序生成器\n\n目录结构：\n```\n.\n├── demo.c  # 结果演示程序：利用生成的代码段，识别正则表达式的交互小程序\n├── lab2.txt  # 项目要求\n├── LICENSE\n├── main\n│   ├── java\n│   │   ├── MainWin.form  # IDEA图形界面\n│   │   └── MainWin.java  # 程序入口\n│   └── scala\n│       ├── automata\n│       │   ├── Automata.scala  # 自动状态机抽象基类\n│       │   ├── DFA.scala  # DFA类及单例\n│       │   └── NFA.scala  # NFA类及单例\n│       ├── regexParser  # 正则表达式-\u003e语法树 解析器\n│       │   ├── RegexCombParser.scala  # 组合子法解析\n│       │   ├── RegexParser.scala  # 解析器接口\n│       │   ├── RegexRecurParser.scala  # 字符串切割法解析\n│       │   ├── RegexStackParser.scala  # 栈方法解析\n│       │   └── RegexTree.scala  # 正则语法树及状态机的基本元素State和Edge\n│       ├── Testing.scala\n│       ├── viewer  # 查看器\n│       │   ├── AutomataViewer.scala  # 自动状态机查看\n│       │   ├── HorizontalTreeViewer.scala  # 语法树查看\n│       │   └── TreeFileStyleViewer.scala\n│       └── xlex\n│           ├── CppConverter.scala  # C程序转换\n│           └── Xlexer.scala  # 状态机模拟\n├── README\n└── Xlex-introduction.pdf  #  项目介绍\n\n7 directories, 21 files\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangenta%2Fxlex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangenta%2Fxlex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangenta%2Fxlex/lists"}