{"id":17258774,"url":"https://github.com/cowboy8625/neolisp","last_synced_at":"2025-07-23T17:33:14.733Z","repository":{"id":228101266,"uuid":"773144968","full_name":"cowboy8625/neolisp","owner":"cowboy8625","description":"a lisp language","archived":false,"fork":false,"pushed_at":"2025-06-04T03:59:02.000Z","size":1111,"stargazers_count":4,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T10:24:23.439Z","etag":null,"topics":["language","lisp","lisp-dialect","lisp-interpreter","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/cowboy8625.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-16T21:47:12.000Z","updated_at":"2025-06-04T03:59:05.000Z","dependencies_parsed_at":"2024-03-17T05:25:22.676Z","dependency_job_id":"9f414465-f2ec-4fdb-8792-a7cd44cc4755","html_url":"https://github.com/cowboy8625/neolisp","commit_stats":null,"previous_names":["cowboy8625/neolisp"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cowboy8625/neolisp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy8625%2Fneolisp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy8625%2Fneolisp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy8625%2Fneolisp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy8625%2Fneolisp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cowboy8625","download_url":"https://codeload.github.com/cowboy8625/neolisp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy8625%2Fneolisp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266720044,"owners_count":23973885,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["language","lisp","lisp-dialect","lisp-interpreter","rust"],"created_at":"2024-10-15T07:21:58.185Z","updated_at":"2025-07-23T17:33:14.726Z","avatar_url":"https://github.com/cowboy8625.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NeoLisp\n\nNeoLisp is a lightweight, Lisp-inspired programming language designed with simplicity and extensibility in mind. It is implemented in Rust, offering a balance between performance and safety. NeoLisp is a functional programming language, featuring first-class functions, closures, and easy extensibility.\n\n## Features\n\n- **FFI**: NeoLisp supports foreign function interface (FFI) for calling external libraries and APIs from within the language.\n- **Simple Syntax**: NeoLisp features a clean and simple Lisp-inspired syntax, making it easy to learn and use.\n- **Functional Programming**: Supports functional programming paradigms, with first-class functions, recursion, and closures.\n- **Procedural Programming**: Offers a procedural programming style, allowing for easy integration with existing codebases.\n- **Lightweight**: Designed for simplicity and ease of use, making it suitable for quick prototyping and small projects.\n- **Extensibility**: Easily extendable, allowing users to define custom functions and expand the language's features.\n- **Efficient**: Written in Rust for performance and memory safety.\n\n## Getting Started\n\nTo get started with NeoLisp, follow these steps:\n\n1. **Installation**: Clone the NeoLisp repository and build the project using Cargo.\n\n   ```bash\n   git clone https://github.com/yourusername/neolisp.git\n   cd neolisp\n   cargo build --release -- --help\n   ```\n\n1. **Run Examples**: Explore the examples provided in the `samples/` directory to understand NeoLisp's syntax and features.\n\n   ```bash\n   cargo run --release -- run samples/hello_world.nl\n   ```\n\n1. **_Docs_**: View the [documentation](Docs.md) for NeoLisp more in-depth info.\n\n## Syntax\n\n```lisp\n;; Comments\n\n(var value 10)\n\n;; Functions\n\n(fn add (x y) (+ x y))\n\n;; Calling Functions\n\n(add 10 20)\n\n;; Conditionals\n\n(if (= 10 10) \"10 is equal to 10\" \"10 is not equal to 10\")\n\n;; Let bindings\n\n(let (x 10) (+ x 10))\n\n;; Quoting (worked in tree walker but still working on getting this in the new compiler)\n\n'(10 20 30) ;;  -\u003e (10 20 30)\n\n(struct Point x 10 y 20)\n(var point (Point:new :x 10 :y 20))\n(var x (Point:get point :x))\n(Point:set point :y 30)\n```\n\n## Builtin Testing\n\nNeoLisp comes with a built-in testing framework that allows you to write and run tests for your code.\n\n```lisp\n;; Builtin testing run with `neolisp test`\n(test add (assert-eq :expected 3 :actual (add 1 2) :description \"1 + 2 = 3\"))\n```\n\nBy running the `neolisp test` command, NeoLisp will run all the tests in the `src/main.nl` file.\nYou can also provide a specific test file as an argument to the `neolisp test` command.\n\n```bash\nneolisp test\n```\n\n## Examples\n\n- [Fibonacci](./samples/fib.nl)\n- [Rule110](./samples/rule110.nl)\n\n## Installation\n\nTo install NeoLisp, simply run `cargo install --path .` from your terminal while in the `neolisp` directory.\n\n## Usage\n\nTo use NeoLisp, simply run the compiled binary with a NeoLisp script file as an argument.\n\n```bash\nneolisp run my_script.nl\n```\n\nYou can also enter the NeoLisp REPL (Read-Eval-Print Loop) by running the binary with the `-r` flag.\n\n```bash\nneolisp\n```\n\n## Contributing\n\nContributions to NeoLisp are welcome! Whether you want to report a bug, suggest a feature, or contribute code, please feel free to open an issue or submit a pull request on the GitHub repository.\n\n## License\n\nNeoLisp is licensed under the Apache License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowboy8625%2Fneolisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcowboy8625%2Fneolisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowboy8625%2Fneolisp/lists"}