Building a lexer and parser with Scala's Parser Combinators 31 Mar 2016 Pedro Palma Ramos As part of an ongoing project at e.near, one of our Scala teams was recently tasked with a requirement to build an interpreter for executing workflows which are modelled with a textual DSL. These workflows had to be validated for errors, compiled to a simpler bytecode-like representation and stored, in order
A Java library to parse, validate, migrate crons as well as get human readable descriptions for them. The project follows the Semantic Versioning Convention and uses Apache 2.0 license Download cron-utils is available on Maven central repository. <dependency> <groupId>com.cronutils</groupId> <artifactId>cron-utils</artifactId> <version>9.2.0</version> </dependency> Features Create arbitrary cron e
Javaでコンパイラの基礎を理解する(6): もしも、コンパイラ専門書が読めたなら…… (2007/7/11) Javaでコンパイラの基礎を理解する(5): コンパイラの入り口、「字句解析」のための文字列操作 (2007/5/15) Javaでコンパイラの基礎を理解する(4): プログラム言語の文法はどうやって定義されるのか? (2007/4/4) Javaでコンパイラの基礎を理解する(3): 簡単な仮想計算機を作ろう(実装編) 教育界、技術者コミュニティでJava言語の教育と啓蒙に長年携わってきた筆者が、Javaを通してコンパイラの仕組みを分かりやすく紹介する。(編集部)(2007/2/23) Javaでコンパイラの基礎を理解する(2): 簡単な仮想計算機を作ろう(準備編) 教育界、技術者コミュニティでJava言語の教育と啓蒙に長年携わってきた筆者が、Javaを通してコンパイラの仕組みを
python-sqlparse¶ sqlparse is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting SQL statements. The module is compatible with Python 3.8+ and released under the terms of the New BSD license. Visit the project page at https://github.com/andialbrecht/sqlparse for further information about this project. Quick Start¶ >>> import sqlparse >>> # Split a stri
Some years ago someone asked whether it would make sense to switch Python to a PEG parser. (Or a PEG grammar; I don’t recall exactly what was said by whom, or when.) I looked into it a bit and wasn’t sure what to think, so I dropped the subject. Recently I’ve learned more about PEG (Parsing Expression Grammars), and I now think it’s an interesting alternative to the home-grown parser generator tha
17. MicroMark文法 start = doc doc = block+ block = headline / blankline / paragraph headline = "#"+ " " textline paragraph = textline+ blankline textline = !headline inline+ "n" inline = char char = [^n] blankline = "n" 20. MicroMark for PEG.js start = doc doc = block:block+ { return "<body>"+block.join("")+"</body>"; } block = headline / blankline / paragraph headline = prefix:"#"+ " " textline:text
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く