{"id":17079095,"url":"https://github.com/curlpipe/hyperlisp","last_synced_at":"2025-04-12T20:34:37.921Z","repository":{"id":65853413,"uuid":"336009870","full_name":"curlpipe/hyperlisp","owner":"curlpipe","description":"A markup language for the web.","archived":false,"fork":false,"pushed_at":"2021-02-04T17:01:39.000Z","size":9,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T14:51:05.015Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curlpipe.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-02-04T16:13:22.000Z","updated_at":"2025-03-03T15:14:48.000Z","dependencies_parsed_at":"2023-02-14T03:25:12.522Z","dependency_job_id":null,"html_url":"https://github.com/curlpipe/hyperlisp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fhyperlisp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fhyperlisp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fhyperlisp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fhyperlisp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curlpipe","download_url":"https://codeload.github.com/curlpipe/hyperlisp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631094,"owners_count":21136547,"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-14T12:24:35.619Z","updated_at":"2025-04-12T20:34:37.897Z","avatar_url":"https://github.com/curlpipe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyperlisp\n\n## What the heck is hyperlisp?\n\n- It's a markup language designed for the web\n- It transpiles directly into html\n- It's written in Rust therefore it can transpile quickly\n- It's inspired by Lisp and isn't too verbose\n- It's free to use for any purpose you wish\n- Feel free to modify and play around with how it's made\n  - It's only 145 lines of code (excluding comments and blank lines)\n  - The code is well commented\n\u003c!-- It'll alert you to any errors in your markup, making it easier to debug --\u003e\n\n## Installation\n\nYou can run the following commands on linux to get it up and running\n```sh\ngit clone https://github.com/curlpipe/hyperlisp.git\ncd hyperlisp\ncargo build --release\nsudo cp target/release/hyperlisp /usr/bin/\n```\n\nOr you can use the prebuilt binaries provided in the releases section and move it to `/usr/bin/`\n\n## Conversion from hyperlisp to html\nAfter installation, you'll be able to convert hyperlisp files into html\n\nTo show the help menu: \n```\nhyperlisp -h\n```\n\nTo convert `index.hls` file into html and print it out:\n```\nhyperlisp -i index.hls\n```\n\nTo convert `index.hls` file into `index.html`:\n```\nhyperlisp -i index.hls -o index.html\n```\n\n## Syntax\nYou can check out the examples folder to see some examples of how to write it.\n\nBelow are some smaller snippets to help you quickly grasp the language.\n\n### Single tags\n\n```lisp\n(h1 Hello World)\n```\n\n```html\n\u003ch1\u003eHello World\u003c/h1\u003e\n```\n\n### Nested tags\n```lisp\n(h1 This is an example of (b Nested tags!) Pretty cool!)\n```\n\n```html\n\u003ch1\u003eThis is an example of \u003cb\u003eNested tags!\u003c/b\u003e Pretty cool!\u003c/h1\u003e\n```\n\n### Attributes\n```lisp\n(div id=\"background\" class=\"container gradient\" \n  Here's a tag: (h1 This is a div)\n)\n```\n\n```html\n\u003cdiv id=\"background\" class=\"container gradient\"\u003e\n  Here's a tag: \u003ch1\u003eThis is a div\u003c/h1\u003e\n\u003c/div\u003e\n```\n\n### Multiple nested tags\n```lisp\n(body (h1 Tag number 1) (p Tag number 2))\n```\n\n```html\n\u003cbody\u003e\u003ch1\u003eTag number 1\u003c/h1\u003e \u003cp\u003eTag number 2\u003c/p\u003e\u003c/body\u003e\n```\n\n### Comments\n```lisp\n(h1 This is a heading, it is displayed) !(This is a comment and it's not displayed)\n```\n\n```html\n\u003ch1\u003eThis is a heading, it is displayed\u003c/h1\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurlpipe%2Fhyperlisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurlpipe%2Fhyperlisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurlpipe%2Fhyperlisp/lists"}