{"id":22478129,"url":"https://github.com/phantomydn/jlll","last_synced_at":"2026-02-03T11:09:39.008Z","repository":{"id":14770737,"uuid":"17492284","full_name":"PhantomYdn/jlll","owner":"PhantomYdn","description":"Java Lisp Like Language","archived":false,"fork":false,"pushed_at":"2019-03-24T21:30:34.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T15:50:00.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/PhantomYdn.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":"2014-03-06T20:51:45.000Z","updated_at":"2023-08-31T19:20:46.000Z","dependencies_parsed_at":"2022-09-11T03:41:15.047Z","dependency_job_id":null,"html_url":"https://github.com/PhantomYdn/jlll","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PhantomYdn/jlll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fjlll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fjlll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fjlll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fjlll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhantomYdn","download_url":"https://codeload.github.com/PhantomYdn/jlll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomYdn%2Fjlll/sbom","scorecard":{"id":109610,"data":{"date":"2025-08-11","repo":{"name":"github.com/PhantomYdn/jlll","commit":"41224d319328a3e61f93fdcf14ee839b77c0552e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-15T11:49:49.218Z","repository_id":14770737,"created_at":"2025-08-15T11:49:49.218Z","updated_at":"2025-08-15T11:49:49.218Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003336,"owners_count":26083579,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-06T14:13:28.363Z","updated_at":"2026-01-27T12:34:52.582Z","avatar_url":"https://github.com/PhantomYdn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n     ___ _     _     _     \n    |_  | |   | |   | |    \n      | | |   | |   | |    \n      | | |   | |   | |    \n  /\\__/ / |___| |___| |____\n  \\____/|_____|_____|______|\n```\n\n# JLLL - Java Lisp Like Language\n\n[![Build](https://github.com/PhantomYdn/jlll/actions/workflows/ci.yml/badge.svg)](https://github.com/PhantomYdn/jlll/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/PhantomYdn/jlll/branch/master/graph/badge.svg)](https://codecov.io/gh/PhantomYdn/jlll)\n[![Maven Central](https://img.shields.io/maven-central/v/ru.ydn/jlll)](https://central.sonatype.com/artifact/ru.ydn/jlll)\n[![Java 17+](https://img.shields.io/badge/Java-17%2B-blue)](https://openjdk.org/)\n[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)\n\n**Lightweight, embeddable Lisp interpreter for Java.** Add scripting, DSLs, or a REPL to your project in minutes.\n\n---\n\n## Features\n\n- **Lightweight** - Minimal core library for embedding in your projects\n- **Full Java Interop** - Call any Java method, access fields, create objects\n- **Embeddable** - Evaluate Lisp from Java with a single line of code\n- **Extensible** - Add custom primitives with simple annotations\n- **Rich CLI** - Interactive REPL with line editing, history, tab completion, and syntax highlighting\n- **Keyword Arguments** - Optional parameters with defaults: `(define (f (x 10)) ...)`\n- **Metadata** - Attach documentation and metadata to bindings: `(define x :doc \"desc\" 42)`\n- **Built-in Libraries** - Math, List, String, SQL, and more\n\n## Documentation\n\nSee the [docs/](docs/) folder for comprehensive language documentation:\n\n- [Overview \u0026 Quick Start](docs/README.md)\n- [Syntax](docs/syntax.md) - Atoms, lists, keywords, reader macros\n- [Special Forms](docs/special-forms.md) - define, if, lambda, let, cond\n- [Procedures](docs/procedures.md) - Keyword arguments, defaults, rest args\n- [Metadata](docs/metadata.md) - Documentation and metadata on bindings\n- [Primitives](docs/primitives.md) - Built-in functions by library\n- [Macros](docs/macros.md) - Macro definition and expansion\n- [Java Interop](docs/java-interop.md) - Calling Java from JLLL\n\n---\n\n## Quick Start\n\n### Java API\n\n```java\nimport ru.ydn.jlll.common.Jlll;\n\n// Evaluate Lisp expressions\nObject result = Jlll.eval(\"(+ 2 2)\");\nSystem.out.println(result); // 4\n\n// Define and call functions\nJlll.eval(\"(define (square x) (* x x))\");\nObject squared = Jlll.eval(\"(square 5)\");\nSystem.out.println(squared); // 25\n```\n\n### Command-Line Interface\n\nBuild and run the interactive interpreter:\n\n```bash\nmvn package\njava -jar target/jlll-*-cli.jar\n```\n\nCLI options:\n\n```bash\njava -jar jlll-*-cli.jar --help           # Show help\njava -jar jlll-*-cli.jar --version        # Show version  \njava -jar jlll-*-cli.jar -e '(+ 1 2 3)'   # Evaluate expression\njava -jar jlll-*-cli.jar script.jlll      # Run script file\njava -jar jlll-*-cli.jar                  # Start interactive REPL\n```\n\nREPL features:\n- **Line editing** - Arrow keys, history navigation (Up/Down), search (Ctrl+R)\n- **Tab completion** - Complete symbols, primitives, keywords\n- **Multi-line input** - Automatic continuation for unbalanced parentheses\n- **Syntax highlighting** - Colorized keywords, strings, numbers\n\nExample session:\n\n```\njlll\u003e (define (factorial n)\n....\u003e   (if (\u003c= n 1) \n....\u003e     1 \n....\u003e     (* n (factorial (- n 1)))))\njlll\u003e (factorial 10)\n3628800\njlll\u003e (invoke \"hello world\" 'toUpperCase)\nHELLO WORLD\n```\n\n---\n\n## Installation\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eru.ydn\u003c/groupId\u003e\n    \u003cartifactId\u003ejlll\u003c/artifactId\u003e\n    \u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\n```groovy\nimplementation 'ru.ydn:jlll:2.0.0'\n```\n\n---\n\n## Examples\n\n### Basic Operations\n\n```lisp\n(+ 2 2)                        ; =\u003e 4\n(cons 'a 'b)                   ; =\u003e (a . b)\n(append '(a b) '(c d))         ; =\u003e (a b c d)\n```\n\n### Functions\n\n```lisp\n(define (inc x) (+ x 1))\n(inc 2)                        ; =\u003e 3\n\n(lambda (x y) (+ x y))         ; anonymous function\n((lambda (x) (* x x)) 4)       ; =\u003e 16\n```\n\n### Java Interop\n\n```lisp\n; Call static methods\n(invoke-static 'java.lang.Math 'cos 0.0)    ; =\u003e 1.0\n(invoke-static 'java.lang.Math 'max 10 20)  ; =\u003e 20\n\n; Call instance methods\n(invoke \"hello\" 'length)                     ; =\u003e 5\n(invoke \"hello\" 'substring 1 3)              ; =\u003e \"el\"\n\n; Create objects\n(new 'java.util.ArrayList)\n```\n\n---\n\n## License\n\n[Apache License 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomydn%2Fjlll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphantomydn%2Fjlll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomydn%2Fjlll/lists"}