{"id":23189527,"url":"https://github.com/champii/og","last_synced_at":"2025-08-18T18:32:20.220Z","repository":{"id":62261954,"uuid":"146253163","full_name":"Champii/og","owner":"Champii","description":"Oglang - Language that compiles to Golang","archived":false,"fork":false,"pushed_at":"2018-10-25T07:15:53.000Z","size":5217,"stargazers_count":97,"open_issues_count":5,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-29T19:58:20.719Z","etag":null,"topics":["language"],"latest_commit_sha":null,"homepage":"https://champii.github.io/og","language":"Go","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/Champii.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}},"created_at":"2018-08-27T05:59:11.000Z","updated_at":"2024-07-25T15:54:41.000Z","dependencies_parsed_at":"2022-10-29T12:45:42.577Z","dependency_job_id":null,"html_url":"https://github.com/Champii/og","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Fog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Fog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Fog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Champii%2Fog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Champii","download_url":"https://codeload.github.com/Champii/og/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229964410,"owners_count":18152034,"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":["language"],"created_at":"2024-12-18T11:19:52.445Z","updated_at":"2024-12-18T11:19:53.000Z","avatar_url":"https://github.com/Champii.png","language":"Go","readme":"Og-Lang *v0.7.2* (Optimistic Golang)\n===\n\n### [Documentation Website](https://champii.github.io/og)\n### [GoDoc](https://godoc.org/github.com/Champii/og)\n\nWe are looking for a better name !  \n[Renaming Og](https://github.com/Champii/og/issues/7)\n\n# Disclamer\n\n\u003ch3\u003e This software is in its early stage.\u003c/h3\u003e\n\n# Quick overview\n\nThis language aim to save developer time as much as possible by implementing syntactic sugar like templates or auto return. It might borrow some concepts from functionnal languages like function composition or currying.\n\nThis is a quick and dirty syntactic coloration made by hand in optic to highlight main features of the language, please don't judge me  (Or better, please contribute to make a better one :] )\n\n![Overview](https://github.com/Champii/og/raw/master/docs/_media/overview_color.png)\n\n## Demo\n\n\u003cp float=\"left\"\u003e\n  \u003cimg height=\"220\" src=\"https://github.com/Champii/og/raw/master/docs/_media/hello_preview.gif\" /\u003e\n  \u003cimg height=\"220\" src=\"https://github.com/Champii/og/raw/master/docs/_media/og_preview.gif\" /\u003e\n\u003c/p\u003e\n\n# Build\n\nHere is the procedure to regenerate the parser from the grammar if you want to make changes to it.  \nIf you just want to (re)build the binary, you can call `make build` or just `go build` (needs a previously generated parser from grammar. See below)  \nYou will need `Java`, the Antlr4 library is in `./parser/antlr4-4.7.1-SNAPSHOT-complete.jar`\n\n```bash\n# Get Og\ngo get -u github.com/champii/og \ncd $GOPATH/src/github.com/champii/og\n\n# This will regenerate the grammar,\n# Compile the existing sources from the previous Og (`og lib`)\n# And run the tests.\n# Needs the last official `og` binary version at global scope.\nmake\n\n# It cleans the `lib` folder,\n# Then compiles og from the previous global version (`og lib`)\n# Then recomiles it from itself (`./og lib`)\n# And run the tests\nmake re\n\n# Simple exemple\nog exemples/import.og\n```\n\nThe current build time of the project is around 5s for all sources files with `./og` alone, and around 20s for full rebootstrap with `make re` (That bootstraps from old version then rebootstraps from itself, with `go build` and `go test` each time). \n\n# Quotes\n\n\u003ctable\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003cb\u003e\"Golang On Steroids\"\u003c/b\u003e\u003c/td\u003e         \u003ctd\u003e- \u003cem\u003eSocrates\u003c/em\u003e\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003cb\u003e\"The Code like it should be. 5/7\"\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e- \u003cem\u003eMahatma Gandhi\u003c/em\u003e\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003cb\u003e\"(..Recursive Facepalm..)\"\u003c/b\u003e\u003c/td\u003e \u003ctd\u003e- \u003cem\u003eGoogle\u003c/em\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchampii%2Fog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchampii%2Fog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchampii%2Fog/lists"}