{"id":17272094,"url":"https://github.com/tatskaari/gustolang","last_synced_at":"2026-03-04T21:32:48.557Z","repository":{"id":77449851,"uuid":"99960164","full_name":"Tatskaari/GustoLang","owner":"Tatskaari","description":"A toy language written in kotlin","archived":false,"fork":false,"pushed_at":"2019-03-17T17:57:21.000Z","size":1359,"stargazers_count":16,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T08:21:36.265Z","etag":null,"topics":["functional-languages","grammar","gusto","kotlin","toy-language"],"latest_commit_sha":null,"homepage":null,"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/Tatskaari.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,"zenodo":null}},"created_at":"2017-08-10T19:58:35.000Z","updated_at":"2021-07-21T16:27:39.000Z","dependencies_parsed_at":"2023-04-20T16:06:56.995Z","dependency_job_id":null,"html_url":"https://github.com/Tatskaari/GustoLang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tatskaari/GustoLang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tatskaari%2FGustoLang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tatskaari%2FGustoLang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tatskaari%2FGustoLang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tatskaari%2FGustoLang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tatskaari","download_url":"https://codeload.github.com/Tatskaari/GustoLang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tatskaari%2FGustoLang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30093835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"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":["functional-languages","grammar","gusto","kotlin","toy-language"],"created_at":"2024-10-15T08:47:44.752Z","updated_at":"2026-03-04T21:32:48.508Z","avatar_url":"https://github.com/Tatskaari.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GustoLang \n[![Build Status](https://travis-ci.org/Tatskaari/GustoLang.svg?branch=master)](https://travis-ci.org/Tatskaari/GustoLang)\n[![codecov](https://codecov.io/gh/Tatskaari/GustoLang/branch/master/graph/badge.svg)](https://codecov.io/gh/Tatskaari/GustoLang)\n\nA toy language written in kotlin. The original idea was to make a language that was simple to pick up for beginners\nhowever I have just been implementing features for fun. The plan right now is to get this targeting the JVM.\n\nAnother goal of this project is to try out a few idioms. You may have noticed the build passing tag. Every commit to \nthis project is run through Travis CI and passed through a suite of unit tests. I also just wanted to learn Kotlin.\n\n# Road Map\n- Desired syntax and semantics\n  - Code blocks - Done\n  - Variables and assignment - Done\n  - Expressions - Done\n  - If statements - Done\n  - While loops - Done\n  - Input and output - Done\n  - Function calls - Done\n  - Variable types (decimal, character?) - Done\n  - Lists - Done\n  - Foreach over lists\n  - List API to find size, remove first, append lists together etc.\n    - Length - Done\n    - First\n    - Last\n    - Remove\n    - Append\n  - Make lists indexed by strings and other variables as well\n  - Allow functions to return nothing. Detect all code paths return the same value. - Started (naive implementation)\n  - Static type checking - Done\n  - Anonymous functions - Done\n- Interpretation\n    - jar command line interpreter - Done\n    - Javascript interpreter - Done\n- Compilation\n    - JVM\n\n- Features to consider\n  - Target LLVM IR (and as a result all the platforms LLVM targets)\n    - Figure out how to work with LLVM garbage collectors\n  - Dead variable analysis\n  - Unreachable code analysis\n  - Constant propagation and expression simplifications\n  - Function inlining\n\n\n# Syntax/Grammar \nThe syntax changes every time I have a cool idea. I keep a formal definition in the file \"grammar\" however I forget to \nupdate this sometimes. I usually keep a working example on [my website](http://jon-poole.uk/try-gusto).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatskaari%2Fgustolang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftatskaari%2Fgustolang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatskaari%2Fgustolang/lists"}