{"id":20708164,"url":"https://github.com/seanf/hello-ceylon-jjs","last_synced_at":"2025-07-18T12:39:37.458Z","repository":{"id":139108372,"uuid":"45983881","full_name":"seanf/hello-ceylon-jjs","owner":"seanf","description":"Proof of concept: Running Ceylon under Nashorn jjs","archived":false,"fork":false,"pushed_at":"2015-11-19T01:43:26.000Z","size":836,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T05:29:28.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanf.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":"2015-11-11T13:38:27.000Z","updated_at":"2015-11-11T13:40:52.000Z","dependencies_parsed_at":"2023-06-13T06:00:49.119Z","dependency_job_id":null,"html_url":"https://github.com/seanf/hello-ceylon-jjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seanf/hello-ceylon-jjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanf%2Fhello-ceylon-jjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanf%2Fhello-ceylon-jjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanf%2Fhello-ceylon-jjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanf%2Fhello-ceylon-jjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanf","download_url":"https://codeload.github.com/seanf/hello-ceylon-jjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanf%2Fhello-ceylon-jjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265762542,"owners_count":23824414,"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":[],"created_at":"2024-11-17T01:29:36.910Z","updated_at":"2025-07-18T12:39:37.413Z","avatar_url":"https://github.com/seanf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proof of concept: Running Ceylon under Nashorn jjs\n\n### ceylon-users discussion:\n\nhttps://groups.google.com/d/msg/ceylon-users/W9FA-7lQUEc/wvl6oTgFEAAJ\n\n\n## To compile:\n\n    $ ceylon compile-js\n\n\n## To run:\n\n    $ jjs main.js\n\n\n## Or to do both:\n\n    $ ./buildrun.sh\n\n~~This probably requires a pretty recent version of Java 8/Nashorn. Tested with JRE 1.8.0_60 on Windows 8.1 64-bit.~~\n\nNashorn currently (1.8.0.65) crashes when loading the full JSON model for `` `function print` ``.\nSee https://github.com/ceylon/ceylon-js/issues/316#issuecomment-42464517 and\nhttps://groups.google.com/d/msg/ceylon-users/W9FA-7lQUEc/nALYkkXLAAAJ\n\n\n    $ ./buildrun.sh\n    Note: Created module hello/1.0.0\n    Hello from Ceylon running in Nashorn jjs\n    ceylon.language::List\u003cceylon.language::Object\u003e\n    lib/rhino-require.js:48 TypeError: java.lang.RuntimeException: Method code too large! has no such function \"toSource\"\n\n\n\n\nRhino-Require runs the modules from the directory `rhino_modules`.\n\nIf you update the hello module, you must copy the compiled module from\n`modules` to `rhino_modules`.\n\nThe directory `rhino_modules` also contains the ceylon.language JS files\nwhich were copied from ${ceylon.home}/repo/\n\n\n## Links:\n\n* Rhino-Require: https://github.com/micmath/Rhino-Require\n* Ceylon: http://ceylon-lang.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanf%2Fhello-ceylon-jjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanf%2Fhello-ceylon-jjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanf%2Fhello-ceylon-jjs/lists"}