All Projects → gram-data → gram-js

gram-data / gram-js

Licence: other
Gram in javascript.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
Nearley
35 projects

Projects that are alternatives of or similar to gram-js

Orgajs
parse org-mode content into AST
Stars: ✭ 417 (+1885.71%)
Mutual labels:  ast, unified
redot
Graphviz dot file processor powered by plugins based on @unifiedjs
Stars: ✭ 60 (+185.71%)
Mutual labels:  ast, unified
Retext
natural language processor powered by plugins part of the @unifiedjs collective
Stars: ✭ 2,119 (+9990.48%)
Mutual labels:  ast, unified
Remark
remark is a popular tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc.
Stars: ✭ 4,746 (+22500%)
Mutual labels:  ast, unified
Rehype
HTML processor powered by plugins part of the @unifiedjs collective
Stars: ✭ 634 (+2919.05%)
Mutual labels:  ast, unified
Micromark
the smallest commonmark compliant markdown parser that exists; new basis for @unifiedjs (hundreds of projects w/ billions of downloads for dealing w/ content)
Stars: ✭ 793 (+3676.19%)
Mutual labels:  ast, unified
rehype-dom
HTML processor to parse and compile with browser APIs, powered by plugins
Stars: ✭ 20 (-4.76%)
Mutual labels:  ast, unified
Public-Transport-SP-Graph-Database
Metropolitan Transport Network from São Paulo mapped in a NoSQL graph database.
Stars: ✭ 25 (+19.05%)
Mutual labels:  neo4j
fastobo-py
Faultless AST for Open Biomedical Ontologies in Python.
Stars: ✭ 21 (+0%)
Mutual labels:  ast
nlm
Memory for Knowledge Graph, using Neo4j. 知识图谱存储与查询。
Stars: ✭ 43 (+104.76%)
Mutual labels:  neo4j
paradise-papers-django
A simple Django web app for searching the Paradise Papers dataset backed by Neo4j
Stars: ✭ 63 (+200%)
Mutual labels:  neo4j
pyre-ast
pyre-ast is an OCaml library to parse Python files. The library features its full-fidelity to the official Python spec, as well as its adoption of tagless-final style.
Stars: ✭ 25 (+19.05%)
Mutual labels:  ast
sdk
Home of the JupiterOne SDK
Stars: ✭ 21 (+0%)
Mutual labels:  neo4j
stack-editor
[Deprecated, prefer calcit-editor]
Stars: ✭ 93 (+342.86%)
Mutual labels:  ast
ReactPropTypes-Plugin
A Jetbrains Plugin for react PropTypes
Stars: ✭ 62 (+195.24%)
Mutual labels:  ast
jpa-unit
JUnit extension to test javax.persistence entities
Stars: ✭ 28 (+33.33%)
Mutual labels:  neo4j
gogoAST
The simplest tool to parse/transform/generate code on ast
Stars: ✭ 29 (+38.1%)
Mutual labels:  ast
InteractiveGraph-neo4j
a graph server serves backend neo4j, virtosuo as an InteractiveGraph
Stars: ✭ 102 (+385.71%)
Mutual labels:  neo4j
gorm-neo4j
GORM for Neo4j
Stars: ✭ 16 (-23.81%)
Mutual labels:  neo4j
scalajson
ScalaJSON - JSON for Scala, currently contains minimal AST
Stars: ✭ 55 (+161.9%)
Mutual labels:  ast

(text)-->(ast)-->(text)

gram.js is a collection of packages for working with the gram textual format for graph data.

You can parse .gram files into an AST.

Or, you can produce .gram files from an existing AST.

The AST is not a data model. But it does easily maps to a data model. For example see d3-gram.

How to gram in javascript

The 2 best places to start:

  1. Parse from text using [[gram-parse]]
  2. Build an AST by hand using [[gram-builder]]

All packages

  • [[gram]] for general use
  • [[gram-ast]] defines abstract syntax tree types
  • [[gram-builder]] composes a valid AST
  • [[gram-identity]] generates identity. (available as a unified plugin )
  • [[gram-ops]] extracts features from the AST
  • [[gram-parse]] processes text literal .gram into an AST. (available as a unified plugin )
  • gram-preset-basic a unified preset for processing .gram files
  • [[gram-stringify]] serializes AST back to text literal format (available as a unified plugin )
  • [[gram-value]] enrich AST text literals with JS primitive or object values

Credit

Unified "Content as structured data"

Gram leverages the excellent unified framework "for parsing, inspecting, transforming, and serializing content through syntax trees."

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].