Chevrotain一覧 JHIPSTER一覧

目次

Chevrotainとは

Chevrotainは、Javascriptのライブラリですが、英語の辞書での意味は、動物の「まめじか」です。

Chevrotainは、JavaScript?用の非常に高速で機能豊富な Parser Building Toolkitです。

単純な設定ファイルから本格的なプログラミング言語まで、さまざまなユースケースに対応するパーサ/コンパイラ/インタプリタを構築するために使用できます。

Chevrotainはパーサジェネレータではないながらも、コードを生成することなく、パーサジェネレータと同じ種類の問題を解決します。

Chevrotain Grammarsは、新しいツールやプロセスを必要とせずに、他の純粋なコードと同じように作成/デバッグ/編集できる純粋なコードです。

GITHUB

https://github.com/SAP/chevrotain

WEB上のツール

入力と出力と、グラフィカルな構文解析の図を、インタラクティブに試せるサイト

https://sap.github.io/chevrotain/playground/

パース速度のベンチマーク

https://sap.github.io/chevrotain/performance/

チュートリアル

https://sap.github.io/chevrotain/docs/tutorial/step0_introduction.html

ユーザガイド

https://sap.github.io/chevrotain/docs/guide/introduction.html

インストール

npm install chevrotain

ブラウザでのインストール

最新版

https://unpkg.com/chevrotain/lib/chevrotain.js

または

https://unpkg.com/chevrotain/lib/chevrotain.min.js

任意のバージョン指定

https://unpkg.com/chevrotain@4.8.1/lib/chevrotain.js

または

https://unpkg.com/chevrotain@4.8.1/lib/chevrotain.min.js

Chevrotain のサンプル

https://github.com/SAP/chevrotain/tree/master/examples

FAQ

https://sap.github.io/chevrotain/docs/FAQ.html

構文

https://sap.github.io/chevrotain/documentation/4_8_1/classes/parser.html

依存関係

regexp-to-astライブラリへの依存はひとつだけです。ブラウザでの消費を容易にするために、この依存関係はバンドルされているアーティファクトに含まれています。

互換性

Chevrotainは最新のJavaScript? ES5.1ランタイム上で動作します。それは現代のnodejsバージョン、現代のブラウザそしてIE11さえ含みます。

UMDを使用して、一般的なモジュールローダー(ブラウザのグローバル/ amd / commonjs)と連携します。

寄与

詳細はCONTRIBUTING.mdを見てください。

このパーサライブラリが使われているアプリ

いくつかの興味深いサンプル:

JHipster

https://github.com/jhipster/jhipster-core/blob/master/lib/dsl/jdl_parser.js

https://github.com/jhipster

metabase

データ可視化ツール

https://github.com/metabase/metabase/blob/136dfb17954f4e4302b3bf2fee99ff7b7b12fd7c/frontend/src/metabase/lib/expressions/parser.js

https://github.com/metabase/metabase/tree/136dfb17954f4e4302b3bf2fee99ff7b7b12fd7c

witheve / Eve

人間向けに、デザインされた、新しいEve言語のパーサに使われています。

https://github.com/witheve/Eve/blob/master/src/parser/parser.ts

https://github.com/witheve/Eve

BioModelAnalyzer?ChatBot?

生物学的モデルを視覚的に表現するツールのチャットボットにつかわれている。

https://github.com/Microsoft/BioModelAnalyzer/blob/master/ChatBot/src/NLParser/NLParser.ts

https://github.com/microsoft/BioModelAnalyzer

bombadil

bombadilは JSONやYAMLの進化系のTOMLのjavascriptパーサー [#p615acb1]

https://github.com/sgarciac/bombadil/blob/master/src/parser.ts

https://github.com/sgarciac/bombadil

argdown

argdownは テキストで書かれた論文の論理の構造とかをマインドマップみたいなグラフで表現して、把握しやすくするツール [#hc4c991d]

https://github.com/christianvoigt/argdown/blob/master/packages/argdown-core/src/parser.ts

https://github.com/christianvoigt/argdown

その他のパーサジェネレータ

ANTLR4 独学

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-08-20 (火) 09:15:44 (1703d)