Archived
1
0
Fork 0
Library for parsing and rendering information.
This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Dmitriy Pleshevskiy 4c086e2ba1
Some checks failed
continuous-integration/drone/push Build is failing
ci: add tests
2022-06-14 12:52:51 +03:00
core add gpl licence 2022-06-14 01:04:49 +03:00
par add gpl licence 2022-06-14 01:04:49 +03:00
ren add gpl licence 2022-06-14 01:04:49 +03:00
test_data fix ignoring 2022-06-14 01:08:34 +03:00
.drone.yml ci: add tests 2022-06-14 12:52:51 +03:00
.gitignore fix ignoring 2022-06-14 01:08:34 +03:00
COPYING fix ignoring 2022-06-14 01:08:34 +03:00
deno.json refac to deno 2022-05-22 00:03:48 +03:00
import_map.json refac to deno 2022-05-22 00:03:48 +03:00
makefile ci: add tests 2022-06-14 12:52:51 +03:00
README.md add readme 2022-06-14 12:26:11 +03:00

Paren

Paren is experemental, radically simple library for parsing and rendering information. It consists of two parts: ren (Renderer) and par (Parser)

Ren Design Principles

  • Focused on server-side rendering.
  • Has a very simple interface for creating components.
  • Object-oriented and allows you to change types of rendering without changing components.

Par

Parser was originally developed for my personal site to use markdown as page content. It's still in the early stages of development, and the concept is not well thought out.

Use Paren

You can try it with deno. Just copy following to your import_map.json

{
  "imports": {
    "paren/": "https://git.pleshevski.ru/pleshevskiy/paren/raw/commit/ac60fc50bfd4d5027925c9077a016697382c667e/"
  }
}

or you can use branch https://git.pleshevski.ru/pleshevskiy/paren/raw/branch/main/

Note

: Use always a specific commit instead of branch

License

GNU General Public License v3.0 or later

See COPYING to see the full text.