{"id":19624343,"url":"https://github.com/sk-azraf-sami/piratescript-compiler-design","last_synced_at":"2026-06-17T07:32:07.225Z","repository":{"id":208341727,"uuid":"721398008","full_name":"Sk-Azraf-Sami/PirateScript-Compiler-Design","owner":"Sk-Azraf-Sami","description":"Welcome to the high seas of programming with PirateScript, a language as adventurous and cunning as a pirate on the hunt for buried treasure. PirateScript be more than just a set of code rules; it's a linguistic journey through the seven seas of syntax and semantics, where every line of code tells a tale of daring escapades and nautical exploits.","archived":false,"fork":false,"pushed_at":"2024-02-24T20:01:34.000Z","size":785,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T19:41:15.167Z","etag":null,"topics":["abstract-syntax-tree","bison","bison-flex","bison-yacc","compiler-design","grammar-parser","grammer-checker","lexical-analysis","lexical-parser"],"latest_commit_sha":null,"homepage":"","language":"C","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/Sk-Azraf-Sami.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":"2023-11-21T01:25:54.000Z","updated_at":"2024-08-07T00:28:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"df3bb2ed-9e93-4ffa-8668-78eb353c728d","html_url":"https://github.com/Sk-Azraf-Sami/PirateScript-Compiler-Design","commit_stats":null,"previous_names":["sk-azraf-sami/piratescript-compiler-design"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sk-Azraf-Sami/PirateScript-Compiler-Design","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sk-Azraf-Sami%2FPirateScript-Compiler-Design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sk-Azraf-Sami%2FPirateScript-Compiler-Design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sk-Azraf-Sami%2FPirateScript-Compiler-Design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sk-Azraf-Sami%2FPirateScript-Compiler-Design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sk-Azraf-Sami","download_url":"https://codeload.github.com/Sk-Azraf-Sami/PirateScript-Compiler-Design/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sk-Azraf-Sami%2FPirateScript-Compiler-Design/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34439294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["abstract-syntax-tree","bison","bison-flex","bison-yacc","compiler-design","grammar-parser","grammer-checker","lexical-analysis","lexical-parser"],"created_at":"2024-11-11T11:37:48.010Z","updated_at":"2026-06-17T07:32:07.203Z","avatar_url":"https://github.com/Sk-Azraf-Sami.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# PirateScript-Compiler-Design\n\n\u003cimg align=\"right\" alt=\"coding\" width=\"400\" src=\"https://github.com/Sk-Azraf-Sami/PirateScript-Compiler-Design/blob/main/PirateScriptLogo.png\"\u003e\n\n**Introduction to PirateScript:** A Programming Language with a Swashbuckling Twist\nAhoy, ye scallywags and code enthusiasts! Welcome to the high seas of programming with PirateScript, a language as adventurous and cunning as a pirate on the hunt for buried treasure. PirateScript be more than just a set of code rules; it's a linguistic journey through the seven seas of syntax and semantics, where every line of code tells a tale of daring escapades and nautical exploits.\n\n**Setting Sail with PirateScript:** The Basics\nPirateScript be designed for both seasoned developers and landlubbers lookin' to embark on a voyage into the world of programming. With its unique blend of traditional programming constructs and the whimsy of the pirate's life, it be language that be as fun to write as it be to read.\n\n\n## Variable Types\n\n### JackSparrow_i (integer)\n\n**Description:**\nThe variable `JackSparrow_i` is an integer used to represent a numeric value associated with the legendary pirate Jack Sparrow.\n\n**Usage:**\nThis variable is intended to store whole number values, such as counts, indices, or any other integer-related information in the context of the program.\n\n### Fury_f (float)\n\n**Description:**\nThe variable `Fury_f` is a float used to represent a numeric value associated with the concept of fury or intensity.\n\n**Usage:**\nThis variable is suitable for storing decimal or floating-point values, providing precision for computations involving non-integer numbers.\n\n### Charlotte_c (char)\n\n**Description:**\nThe variable `Charlotte_c` is a character variable designed to store a single character, specifically associated with the character \"Charlotte.\"\n\n**Usage:**\nThis variable is intended for holding single character values, such as letters, digits, or special characters.\n\n### DavyJones_d (double)\n\n**Description:**\nThe variable `DavyJones_d` is a double used to represent a numeric value associated with the legendary character Davy Jones.\n\n**Usage:**\nThis variable is suitable for storing double-precision floating-point values, providing higher precision compared to the float data type.\n\n## Variable Declaration\n\n### Syntax:\n\n```piratescript\npirate_\u003cvariable_name\u003e\n```\n\n### Example:\n\n```piratescript\nJackSparrow_i pirate_a\n```\n\nHere, \"JackSparrow_i\" is the data type, and by starting with \"pirate_\", it signifies a variable. \"a\" is the variable name.\n\n## Variable Initialization\n\n### Syntax:\n\n```piratescript\npirate_\u003cvariable_name\u003e loot value\n```\n\n### Example:\n\n```piratescript\npirate_a loot 8\n```\n\nHere, \"loot\" is the assignment keyword, and it assigns the value 8 to the variable \"pirate_a.\"\n\n## Comments\n\n### Single Line:\n\n```piratescript\n📍️Black Perl\n```\n\n### Multi-Line:\n\n```piratescript\n📌️ Jack Sparrow\nPirate Captain\n📌️\n```\n\n## Operators\n\n### Arithmetic Operators:\n\n- \"booty\" (Plus)\n- \"mutiny\" (Minus)\n- \"gun\" (Multiplication)\n- \"gold\" (Division)\n\n### Unary Operators:\n\n- \"⚓️++\" (Increment)\n- \"⚓️--\" (Decrement)\n- \"!⚓️\" (Not)\n\n### Logical Operators:\n\n- \"\u0026\u0026\" (Logical AND)\n- \"||\" (Logical OR)\n- \"!!\" (Logical NOT)\n\n### Relational Operators:\n\n- \"tiny\" (Less than)\n- \"mighty\" (Greater than)\n\n## Conditional Statements\n\n- \"Parley\" (If)\n- \"Aye\" (Else)\n- \"ElseWise\" (Else If)\n\n## Switch Statement\n\n- \"Pirate_Code\" (Case)\n- \"Code_Book\"   (Switch)\n\n## Loops\n\n- \"Shanty\" (For)\n- \"Whale\" (While)\n\n## Functions\n\n- \"Captain\" (Main function)\n- \"crew\" (User-defined function)\n- \"gunPowder\" (Power function)\n- \"fact\" (Factorial function)\n\n## Additional Syntax\n\n- \"LeftCannon \" (Left first bracket)\n- \"RightCannon \" (Right first bracket)\n- \"yo_ho\" (Comma)\n- \"🏴‍☠️️\" (Statement indicator)\n- \"LeftBow\" (Left second bracket)\n- \"RightBow\" (Right second bracket)\n\n\nFeel free to use this documentation to create a PirateScript! Yo-ho...\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsk-azraf-sami%2Fpiratescript-compiler-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsk-azraf-sami%2Fpiratescript-compiler-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsk-azraf-sami%2Fpiratescript-compiler-design/lists"}