{"id":22138724,"url":"https://github.com/tanay-pingalkar/productive-script","last_synced_at":"2026-04-24T21:31:07.783Z","repository":{"id":54356125,"uuid":"341554412","full_name":"tanay-pingalkar/productive-script","owner":"tanay-pingalkar","description":"An interpreter for productivity flexibility and many more","archived":false,"fork":false,"pushed_at":"2021-06-07T13:19:51.000Z","size":48,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T16:08:14.721Z","etag":null,"topics":["javascript","language","programming-language","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/tanay-pingalkar.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":"2021-02-23T12:54:30.000Z","updated_at":"2023-08-29T13:21:53.000Z","dependencies_parsed_at":"2022-08-13T13:10:43.246Z","dependency_job_id":null,"html_url":"https://github.com/tanay-pingalkar/productive-script","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/tanay-pingalkar%2Fproductive-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanay-pingalkar%2Fproductive-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanay-pingalkar%2Fproductive-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanay-pingalkar%2Fproductive-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanay-pingalkar","download_url":"https://codeload.github.com/tanay-pingalkar/productive-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245256762,"owners_count":20585967,"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":["javascript","language","programming-language","typescript"],"created_at":"2024-12-01T20:11:41.986Z","updated_at":"2025-03-24T10:40:48.429Z","avatar_url":"https://github.com/tanay-pingalkar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# productive-script\n[abandoned/deprecated]\n## installation\nnot realeased yet, \nso you have to clone the repo \ntypescript needed to be install globally\n```\nnpm i typescript -g\n```\n```\ngh repo clone tanay-pingalkar/productive-script\n```\nand then \n```\nnpm i\n```\nthen \n```\nnpm run watch\n```\nin another terminal\n```\nnpm start / npm run dev\n```\nit will ask for\n```\nfile name :- \n```\ntype `hello`\nand enter\nyou will see\n```javascript\nreading..\nfile is ready!\nOUTPUT:\nhello world\n```\nit means that you have productive-script working on your machine\n\n## learn\n### simple hello world\ncreate a file in the in repo's dir with the extention .pds\nand type following\n```javascript\n*pt(\"hello world\")\n```\nyou will see hello world printed below the output\nlike this\n```javascript\nreading..\nfile is ready!\nOUTPUT:\nhello world\n```\n`*pt()`is a language function to print variables or any kind of data.\n### declare variable\n```javascript\n#int num=\"number\"\n```\nwill throw error like this, because you cannot assign a string to a number\n```\ncant assign \"number\" to number\nthe error has occure on line 1\n```\nCorection\n```javascript\n#int num=55\n*pt(num)\n```\nthis will print number 55. You can similarly declare string but with different prefix.\n```javascript\n#str helloString=\"hello world\"\n*pt(helloString)\n```\n## identifiers\nas you can see to declare variables we are using different prefix but did you notice that there is something common in `#int` and `#str`. You guess it! the `#`\n is common. `#` is an identifier. there is another  identifier called `$` to declare a constant variable. And `*` identifies that this is an language function.\n\n## expression\n```javascript\n#int expre=1+2/3*6\n*pt(expre)\n```\nguess the output..\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanay-pingalkar%2Fproductive-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanay-pingalkar%2Fproductive-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanay-pingalkar%2Fproductive-script/lists"}