{"id":19720386,"url":"https://github.com/okkindel/gccompiler","last_synced_at":"2025-04-29T21:30:50.192Z","repository":{"id":120275256,"uuid":"164095848","full_name":"okkindel/GCCompiler","owner":"okkindel","description":"Gębalang is a simple imperative programming language. Let me introduce a a new georgus compiler of this awesome language - GCCompiler.","archived":true,"fork":false,"pushed_at":"2019-01-27T20:29:32.000Z","size":508,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"compiler","last_synced_at":"2025-02-27T23:38:14.508Z","etag":null,"topics":["bison","compiler","flex"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okkindel.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-01-04T10:51:08.000Z","updated_at":"2023-11-08T15:40:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"19d5d688-cf39-476c-98d6-c5e43dc7fb5c","html_url":"https://github.com/okkindel/GCCompiler","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/okkindel%2FGCCompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okkindel%2FGCCompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okkindel%2FGCCompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okkindel%2FGCCompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okkindel","download_url":"https://codeload.github.com/okkindel/GCCompiler/tar.gz/refs/heads/compiler","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251585747,"owners_count":21613272,"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":["bison","compiler","flex"],"created_at":"2024-11-11T23:11:17.837Z","updated_at":"2025-04-29T21:30:50.187Z","avatar_url":"https://github.com/okkindel.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# G. C. Compiler\n\n```\n _____     _       __        ver. 3.0\n|   __|___| |_ ___|  |   ___ ___ ___\n|  |  | -_| . | .'|  |__| .'|   | . |\n|_____|___|___|__,|_____|__,|_|_|_  |\n        ~                       |___|\n```\n\nGlang is a simple imperative programming language based on i have no idea what. Let me introduce a *a new georgus compiler* of this awesome language - **G. C. Compiler**.\n\n\n## Building\n\nSource files are located in `./compiler/src` directory. To build the compiler by yourself you will need:\n\n| tool  | version |\n|-------|---------|\n| flex  | 2.6.4   |\n| bison | 3.0.4   |\n| g++   | 7.3.0   |\n| make  | 4.1     |\n\nTo compile compiler from sources, just run command `make` or `make compiler` in `./compiler` folder. Your compiler will appear in `./compiler/out` directory.\n\n## Usage\n\nYou will find language documentation in `./compiler/docs/documentation.pdf` file. Sample programs are located in `./compiler/programs/` folder. Three games - _Tic Tac Toe_, _Tetris_ and _Guessing Game_ are located in `./compiler/programs/` as well. Have fun!\n\nTo compile a program run command `./compiler input_file output_file`.\nOutput file should appear. You can run your program using interpreter located in `./interpreter` directory. To compile interpreter, call `make interpreter` in its catalogue. To run program, execute interpreter with your output file as an argument.\n\nYou can aslo use scripts embedded in makefile to run your programs. To compile and run the program at a time, use `make debug input_file` Input file must be located in `./programs` directory, output file will apper in `./out/out`. For testing the compiler, use `make test number`. Tests are located in `./programs/tests`.\n\n## Licence\n\n\u003e ***Programmer:*** a tool which converts caffeine into code\n\n    **\"THE COFFEEWARE LICENSE\" (Revision 2):**\n\n    Copyright (c) 2018 Maciej Hajduk\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy of this software. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you are obligated to buy me a beer / coffee in return.\n\n    (as if I am on every KN Solvro meeting).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokkindel%2Fgccompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokkindel%2Fgccompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokkindel%2Fgccompiler/lists"}