{"id":13793821,"url":"https://github.com/camillebaronnet/calculator","last_synced_at":"2026-01-20T10:02:25.617Z","repository":{"id":79419029,"uuid":"124660512","full_name":"camillebaronnet/calculator","owner":"camillebaronnet","description":":trophy: Ergonomic and modern calculator","archived":false,"fork":false,"pushed_at":"2018-05-26T12:00:30.000Z","size":838,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-18T08:55:37.832Z","etag":null,"topics":["calculator","calculator-application","grammar","javascript","pegjs"],"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/camillebaronnet.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-03-10T13:55:09.000Z","updated_at":"2021-09-14T22:36:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"57ff2a64-c838-489d-a885-b29bb31aea71","html_url":"https://github.com/camillebaronnet/calculator","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/camillebaronnet%2Fcalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camillebaronnet%2Fcalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camillebaronnet%2Fcalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camillebaronnet%2Fcalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camillebaronnet","download_url":"https://codeload.github.com/camillebaronnet/calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816730,"owners_count":21968874,"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":["calculator","calculator-application","grammar","javascript","pegjs"],"created_at":"2024-08-03T23:00:31.786Z","updated_at":"2026-01-20T10:02:25.611Z","avatar_url":"https://github.com/camillebaronnet.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Calculator\n\nModern calculator build in HTML, CSS and Javascript. A custom grammar was built with [PEG.js](https://pegjs.org/).\n\n**Demo :** https://camillebaronnet.github.io/calculator/dist/index.html\n\n\u003cimg src=\"screenshot.png\" alt=\"Calculator\" width=\"600px\"\u003e\n\n## Features\n\n- Addition, substraction, multiplication, division\n- Custom variables with emoji support, accents and underscore\n- Comment line support with hashtag\n- Live result for each line\n- Line highlight at mouseover of the result\n- Syntax highlighting\n- Support common mathematical constants (pi, e, ln10, ln2, log10e, log2e, sqrt1_2, sqrt2)\n\n## Installation\n\nDownload or clone the project and run \u003ccode\u003e/dist/index.html\u003c/code\u003e on modern browser.\n\n## Contribute\n\nClone the projet and download dependencies :\n\n```\ngit clone git@github.com:camillebaronnet/calculator.git\ncd calculator/\nnpm install\n```\n\nWork on grammar `src/grammar.pegjs` :\n\n```\nnpm run watch\n```\n\nFinally, build before commit :\n\n```\nnpm run build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamillebaronnet%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamillebaronnet%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamillebaronnet%2Fcalculator/lists"}