{"id":19720381,"url":"https://github.com/okkindel/geckojs","last_synced_at":"2025-04-29T21:30:49.404Z","repository":{"id":120275277,"uuid":"145308544","full_name":"okkindel/GeckoJS","owner":"okkindel","description":"An interpreted, object-oriented and statically typed programming language inspired by TypeScript, Java and Scala written in JavaScript. I will continue it as I will have more time.","archived":true,"fork":false,"pushed_at":"2018-08-20T07:55:07.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T23:38:07.902Z","etag":null,"topics":["gecko","language","programming-language"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/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":"2018-08-19T14:06:46.000Z","updated_at":"2023-11-08T15:42:25.000Z","dependencies_parsed_at":"2024-06-08T13:30:23.946Z","dependency_job_id":null,"html_url":"https://github.com/okkindel/GeckoJS","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%2FGeckoJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okkindel%2FGeckoJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okkindel%2FGeckoJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okkindel%2FGeckoJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okkindel","download_url":"https://codeload.github.com/okkindel/GeckoJS/tar.gz/refs/heads/master","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":["gecko","language","programming-language"],"created_at":"2024-11-11T23:11:17.235Z","updated_at":"2025-04-29T21:30:49.398Z","avatar_url":"https://github.com/okkindel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeckoJS\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/mage.jpg\"/\u003e\n\u003c/p\u003e\n\n### An interpreted, object-oriented and statically typed programming language inspired by TypeScript, Java and Scala written in JavaScript.\n\n### How to setup\n\nGeckoJS is implemented in [ES6](https://en.wikipedia.org/wiki/ECMAScript#ES6) and the interpreter requires [Node.js](https://nodejs.org/en/) \u003e= 4.2.2 to run.\n\nWith Node.js installed, type the following commands in a prompt to setup GeckoJS.\n\n1. ```$ git clone https://github.com/okkindel/GeckoJS.git```\n2. ```$ cd GeckoJS```\n3. ```$ npm install```\n\n### How to build\n\nRun ```npm run build``` to build.\n\n### How to run\n\nRun ```npm run gecko``` to start an shell for writing GeckoJS programs.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/book.jpg\"/\u003e\n\u003c/p\u003e\n\n## Language Documentation:\n\n\n### Data types:\n\nGecko supports values of types like `Int`, `Double`, `String`, `Bool` and `Void`. All types in Gecko inherit from a supertype `Object`.\n\n### Comments: \n\nAnything from the `//` to the end of line will be ignored by the interpreter.\n\n\n```\n// This is a comment.\n```\n\n### Conditions:\n\nConditions are expressed using an if-else expression.\n\n```\nif (condition) {\n    (do something)\n} else {\n    (do something)\n}\n```\n\n### Functions:\nFunctions are defined using the `funcion` keyword. Parameters are separated by `,` and enclosed in parenthesis `(a: Int, b: Int)`. A parameter is followed whith `:` by its type function languages way.\n\n```\nfuncion sum(a: Int, b: Int): Int = {\n    a + b\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokkindel%2Fgeckojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokkindel%2Fgeckojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokkindel%2Fgeckojs/lists"}