{"id":22614352,"url":"https://github.com/melchisedech333/lex-yacc-experiments","last_synced_at":"2026-02-07T15:32:19.041Z","repository":{"id":61206188,"uuid":"474482756","full_name":"melchisedech333/lex-yacc-experiments","owner":"melchisedech333","description":":wrench: My studies involving context-free grammar analysis. The analyzers were built using familiar tools such as YACC, Lex and Bison. Topics covered include token filtering, simple variable manipulation, and arrays.","archived":false,"fork":false,"pushed_at":"2022-10-17T19:23:07.000Z","size":290,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-19T01:33:01.583Z","etag":null,"topics":["bison","bison-grammar","bison-parser","bison-yacc","compiler-development","language-development","lex","lex-example","lex-yacc-parser","lexical-analysis","lexical-analyzer","parser-generator","parsing","semantic-analysis","syntactic-analysis","tokenization","tokenizer-parser","yacc","yacc-example","yacc-lex"],"latest_commit_sha":null,"homepage":"","language":"Yacc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melchisedech333.png","metadata":{"files":{"readme":"readme-pt.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["melchisedech333"]}},"created_at":"2022-03-26T22:41:27.000Z","updated_at":"2024-05-31T17:23:54.000Z","dependencies_parsed_at":"2022-10-12T19:44:41.965Z","dependency_job_id":null,"html_url":"https://github.com/melchisedech333/lex-yacc-experiments","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/melchisedech333/lex-yacc-experiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melchisedech333%2Flex-yacc-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melchisedech333%2Flex-yacc-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melchisedech333%2Flex-yacc-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melchisedech333%2Flex-yacc-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melchisedech333","download_url":"https://codeload.github.com/melchisedech333/lex-yacc-experiments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melchisedech333%2Flex-yacc-experiments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29198178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T14:35:27.868Z","status":"ssl_error","status_checked_at":"2026-02-07T14:25:51.081Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["bison","bison-grammar","bison-parser","bison-yacc","compiler-development","language-development","lex","lex-example","lex-yacc-parser","lexical-analysis","lexical-analyzer","parser-generator","parsing","semantic-analysis","syntactic-analysis","tokenization","tokenizer-parser","yacc","yacc-example","yacc-lex"],"created_at":"2024-12-08T18:09:29.759Z","updated_at":"2026-02-07T15:32:19.027Z","avatar_url":"https://github.com/melchisedech333.png","language":"Yacc","funding_links":["https://github.com/sponsors/melchisedech333"],"categories":[],"sub_categories":[],"readme":"\n\u003cp align='center'\u003e\n    \u003cimg src=\"extras/images/banner.jpg\" \u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/sponsors/melchisedech333\"\u003e\u003cimg src=\"https://img.shields.io/badge/patrocinar-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#white\" \u003e\u003c/a\u003e\n    \u003cbr\u003e\u003cbr\u003e\n    \u003cimg src=\"https://badgen.net/badge/nível de amor/7 de 10/purple\" \u003e\n    \u003cimg src=\"https://img.shields.io/github/languages/count/melchisedech333/lex-yacc-experiments?color=%23f34b7d\u0026label=linguagens\" \u003e\n    \u003cimg src=\"https://img.shields.io/github/languages/top/melchisedech333/lex-yacc-experiments?color=%23f34b7d\" \u003e\n    \u003cimg src=\"https://img.shields.io/github/directory-file-count/melchisedech333/lex-yacc-experiments?label=arquivos\" \u003e\n    \u003cimg src=\"https://img.shields.io/github/repo-size/melchisedech333/lex-yacc-experiments?label=tamanho repo\" \u003e\n    \u003cimg src=\"https://img.shields.io/github/license/melchisedech333/lex-yacc-experiments?label=licen%C3%A7a\" \u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\nLanguage: \u003ca href=\"readme.md\"\u003eEN-US\u003c/a\u003e\n\nAqui estão meus códigos, estudos e experimentos em geral, que realizei usando as ferramentas para análise de gramática livre de contexto, sendo elas \u003cb\u003elex\u003c/b\u003e, \u003cb\u003eyacc\u003c/b\u003e e \u003cb\u003ebison\u003c/b\u003e.\n\n**Se algum código foi útil para você, considere [ser um patrocinador](https://github.com/sponsors/melchisedech333) :blue_heart:** \n\n\u003cbr\u003e\n\n:bookmark_tabs: Sumário\n-----\n* [Instruções](#hammer_and_wrench-instruções)\n* [Autor](#smiley-autor)\n* [Licença](#scroll-licença)\n-----\n\n\u003cbr\u003e\n\n:hammer_and_wrench: Instruções\n---\n\nCada diretório é equivalente a um teste específico. E para compilar execute o arquivo \u003cb\u003ecompile-and-run.sh\u003c/b\u003e passando o nome do diretório como parâmetro.\n\n```bash\n./compile-and-run.sh \"2 - filter tokens\"\n```\n\nApós a compilação, basta executar o arquivo gerado com o nome \u003cb\u003eparsing\u003c/b\u003e e digitar o input.\n\n```bash\n./parsing\n```\n\nPara este exemplo em questão (usando o \u003cb\u003e2 - filter tokens\u003c/b\u003e), uma entrada válida pode ser:\n\n```\n10 20 30 A\n```\n\nPara esta entrada, a saída será:\n\n```\ntype: INTEGER\ntoken: 10\n\ntype: INTEGER\ntoken: 20\n\ntype: INTEGER\ntoken: 30\n\ntype: UNKNOWN\ntoken: A\n```\n\nÉ importante mencionar que dentro de cada diretório existe um arquivo chamado \u003cb\u003einput.txt\u003c/b\u003e, que contém uma (ou mais) entradas de exemplo possíveis.\n\n\u003cbr\u003e\n\n:smiley: Autor\n---\n\nPatrocinar: [melchisedech333](https://github.com/sponsors/melchisedech333)\u003cbr\u003e\nTwitter: [Melchisedech333](https://twitter.com/Melchisedech333)\u003cbr\u003e\nLinkedIn: [Melchisedech Rex](https://www.linkedin.com/in/melchisedech-rex-724152235/)\u003cbr\u003e\nBlog: [melchisedech333.github.io](https://melchisedech333.github.io/)\u003cbr\u003e\n\n\u003ca href=\"https://github.com/melchisedech333\" \u003e\u003cimg src=\"https://github.com/melchisedech333.png?size=200\" height=\"100\" /\u003e\u003c/a\u003e\n\n\u003cbr\u003e\n\n:scroll: Licença\n---\n\n[ BSD-3-Clause license](./license)\n\n\u003cbr\u003e\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n## Lembre-se de deixar \u003cbr\u003e uma linda estrelinha :star_struck:\n\n\u003c/div\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelchisedech333%2Flex-yacc-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelchisedech333%2Flex-yacc-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelchisedech333%2Flex-yacc-experiments/lists"}