{"id":22874023,"url":"https://github.com/parmaja/tyro","last_synced_at":"2025-05-06T19:22:29.447Z","repository":{"id":44360015,"uuid":"222526175","full_name":"parmaja/tyro","owner":"parmaja","description":"Lua and other programming in simple platform to make programming fun","archived":false,"fork":false,"pushed_at":"2023-08-23T21:22:24.000Z","size":1419,"stargazers_count":17,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-26T06:24:59.686Z","etag":null,"topics":["basic","fpc","gameengine","graphic","lua","raylib","sard","tyro"],"latest_commit_sha":null,"homepage":"","language":"Pascal","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/parmaja.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":"2019-11-18T19:21:13.000Z","updated_at":"2024-03-26T06:24:59.687Z","dependencies_parsed_at":"2022-07-16T19:30:39.718Z","dependency_job_id":null,"html_url":"https://github.com/parmaja/tyro","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/parmaja%2Ftyro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmaja%2Ftyro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmaja%2Ftyro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmaja%2Ftyro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parmaja","download_url":"https://codeload.github.com/parmaja/tyro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229556532,"owners_count":18091768,"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":["basic","fpc","gameengine","graphic","lua","raylib","sard","tyro"],"created_at":"2024-12-13T14:32:24.505Z","updated_at":"2024-12-13T14:32:25.228Z","avatar_url":"https://github.com/parmaja.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tyro\n\nRuning embed programming language in simple graphical environment, for kids and newbies, using [raylib](https://www.raylib.com/) as small game engine to draw.\nNow I am working on adding Lua, in the future I want to add more simple progamming lanuguages like Basic.\nIt also should have editing tool inside that environment, console output and input, work in same graphical window.\nplaying sound using mmf code.\n\nIt is More simulating old computer, but with modern languages and graphic.\n\n# Lua Example\n\n```lua\n    canvas.text(10, 30, 'Printing text test')\n    i = 1000000\n    canvas.color = colors.black\n    canvas.line(0, 100, canvas.width, 100)\n\n    while i \u003e 0 do\n        c = math.random(3, colors.count)\n        canvas.color = colors[c]\n        r = math.random(5, 20) --size of circle\n        x = math.random(640)\n        y = math.random(480)\n        canvas.circle(x, y, r, true)\n        r = math.random(5, 20) --size of circle\n        x = math.random(640)\n        y = math.random(480)\n        canvas.rectangle(x, y, r, r, true)\n        sleep(10)\n        i = i - 1\n    end\n```\n\n# Issues\n\nThere is problem in raylib, in fact in OpenGL that cannot/not easy share texture between threads, we need another trick to pass drawing commands to main thread, but now i am sending objects to draw it in main thread, it is work fine until now\n\nhttps://github.com/raysan5/raylib/issues/454\n\n# Compile\n\nUse FreePascal 3.x or Lazarus with it\n\n# Libraries\n\nYou need only MiniLib package minilib.lpk\n[minilib](https://github.com/parmaja/minilib)\n\n# Dependencies\n\n[raylib](https://www.raylib.com/) for raylib.dll/so put it in same of tyro exe folder\n\n[Lua](https://www.lua.org/) for lua dll 5.3 in same of tyro exe folder\n\n# Ported\n\nYou do not need to use it, it is already in the source folder\n\n[Lua4Lazarus](https://github.com/malcome/Lua4Lazarus)\n\n\n# TODO\n\n[Sard Objects](https://github.com/parmaja/p-sard)\n\n\n### Competition\n\n[yabasic](http://www.yabasic.de)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmaja%2Ftyro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparmaja%2Ftyro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmaja%2Ftyro/lists"}