{"id":16960872,"url":"https://github.com/colltoaction/serde-yaml-risp","last_synced_at":"2025-04-05T15:43:12.736Z","repository":{"id":57666798,"uuid":"367731669","full_name":"colltoaction/serde-yaml-risp","owner":"colltoaction","description":"A YAML-based syntax crate for risp the rusty Lisp","archived":false,"fork":false,"pushed_at":"2021-05-15T21:49:04.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T15:50:23.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colltoaction.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-05-15T21:19:22.000Z","updated_at":"2021-06-07T09:22:36.000Z","dependencies_parsed_at":"2022-09-02T14:01:02.680Z","dependency_job_id":null,"html_url":"https://github.com/colltoaction/serde-yaml-risp","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/colltoaction%2Fserde-yaml-risp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colltoaction%2Fserde-yaml-risp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colltoaction%2Fserde-yaml-risp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colltoaction%2Fserde-yaml-risp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colltoaction","download_url":"https://codeload.github.com/colltoaction/serde-yaml-risp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361598,"owners_count":20926642,"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-10-13T22:50:26.469Z","updated_at":"2025-04-05T15:43:12.713Z","avatar_url":"https://github.com/colltoaction.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serde-yaml-risp [![Crate Version](https://img.shields.io/crates/v/serde-yaml-risp.svg)](https://crates.io/crates/serde-yaml-risp)\n\nA YAML-based syntax crate for [risp] the rusty Lisp.\n\n## Usage in Rust\n\n### Add dependency\n\n```toml\n[dependencies]\nrisp = \"0.7\"\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_yaml = \"0.8\"\nserde-yaml-risp = \"0.1\"\n```\n\n### Using the library\n\n```rust\nextern crate risp;\n\nuse risp::core::create_core_environment;\n\nuse risp::eval::eval;\nuse serde_yaml::Value;\n\nfn main() {\n    let input = \"[ def, my_int, 2 ]\";\n    let value = serde_yaml::from_str::\u003cValue\u003e(input).unwrap();\n    let file_risp = serde_yaml_risp::convert(\u0026value);\n    let mut env = create_core_environment();\n\n    let r0 = eval(file_risp, \u0026mut env);\n    println!(\"{:?}\", r0);\n}\n```\n\n## Running example\n\n```sh\ncargo run --example\n```\n\n## Conceptual model\n\n```\n[ YAML documents ]\n       | serde\n       ↓\n[ serde_yaml::Value ]\n       | serde-yaml-risp\n       ↓\n[ risp::types::RispType ]\n       | risp\n       ↓\n[ LISP programs ]\n```\n\n\n\n[risp]: https://crates.io/crates/risp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolltoaction%2Fserde-yaml-risp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolltoaction%2Fserde-yaml-risp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolltoaction%2Fserde-yaml-risp/lists"}