{"id":14977316,"url":"https://github.com/kpedit/at_lab1","last_synced_at":"2026-03-07T05:03:34.933Z","repository":{"id":87922202,"uuid":"409738900","full_name":"KPEdit/AT_lab1","owner":"KPEdit","description":"This is my homework №1 for AT lessons :)","archived":false,"fork":false,"pushed_at":"2021-10-16T15:53:42.000Z","size":11625,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T04:29:43.422Z","etag":null,"topics":["at","ipynb","ipynb-jupyter-notebook","lex","makefile","matplotlib","python","regex","smc","test","testing","timing"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/KPEdit.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":"2021-09-23T20:44:58.000Z","updated_at":"2021-10-16T15:53:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5211755-8ab8-40b6-9c2a-c1bcacd7e87d","html_url":"https://github.com/KPEdit/AT_lab1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KPEdit/AT_lab1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPEdit%2FAT_lab1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPEdit%2FAT_lab1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPEdit%2FAT_lab1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPEdit%2FAT_lab1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KPEdit","download_url":"https://codeload.github.com/KPEdit/AT_lab1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KPEdit%2FAT_lab1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"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":["at","ipynb","ipynb-jupyter-notebook","lex","makefile","matplotlib","python","regex","smc","test","testing","timing"],"created_at":"2024-09-24T13:55:26.978Z","updated_at":"2026-03-07T05:03:34.890Z","avatar_url":"https://github.com/KPEdit.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AT_lab1\n\n## Description\nThis is my homework №1 for AT lessons :)\n\n## Tools that were used:\n- SMC\n- Regex\n- LeX\n\n## Task\nMy programm should parse this type of string in three different ways:\n\n```c\n\u003cLineNumber\u003e (int|short|long) \u003cvarName\u003e (= \u003cvarName|Integer\u003e)\n```\n\nIf the parsed string is correct, the programm should return a NodeVal object, else it will return the string 'Incorrect'.\n\n### Notes\nNodeVal object contains information about LineNumber and varName that were entered with the string. \n\nvarName should start with any letter from ```a-zA-Z```  and continue with any letter from ```a-zA-Z0-9``` up to 16 characters.\n\nLineNumber and Integer should start with any digits from ```1-9```.\n## Usage\n\nIn console you should ```make run``` to select one of three parsers and a dialog mode.\nThere are two types of a dialog mode:\n* Console mode - you can enter your string in the console and see results of the parsers.\n* File mode - you can enter to this mode if you run ```python3 ./laba/Dialog.py \u003cfileToParse\u003e (logFile)``` (it's a feature:)).\n\n## Testing\nYou can put several ```*.test``` files into the ```./tests``` dir and run ```make test``` to generate multiple log files in the ```./tests/logs``` dir for each parser.\n\n## SMC graph\n![SMC_graph](laba/utils/laba1_graph.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpedit%2Fat_lab1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpedit%2Fat_lab1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpedit%2Fat_lab1/lists"}