Parsers, DSL on ANTLR - techtalk proposal

A Collection of Interesting Ideas,

This version:
https://ungerfall.github.io/2021/03/21/parsers-dsl-antlr.html
Editor:
(EPAM Systems)

Abstract

Документ содержит предложение проведения технического доклада на тему "Пишем парсеры, DSL на ANTLR"

1. Вступление

ANTRL - мощный инструмент генерации парсеров. Поделюсь опытом описания markdown-like грамматики. Рассмотрим возможности инструмента. В качестве демо напишем небольшой DSL.

2. Мотивация

Рассказать о применение ANTLR в своем небольшом VIM плагине https://github.com/Ungerfall/markdown-to-todoist

3. Кому будет интересна тема

Тем, кому интересна обработка текста, парсеры, формальные грамматики, DSL (Domain specific language)

4. Состав доклада

Будет состоять из 4 частей общей длительностью 55 минут

4.1. Применение. 10 минут

Расскажу о применение инструмента в плагине VIM. Что пришлось написать, как работает.

4.2. Oб ANTLR 20 минут

В этой части покажу сам инстумент, его возможности.

4.3. Демо. Пишем DSL. 20 минут

Эта часть будет в режиме demo. Опишем грамматику, сгенерируем классы и запустим программу.

4.4. Q&A. 5+ минут

Стандартная Q&A сессия.

5. Что осталось сделать

  1. Презентация

  2. Написать проект для демо

6. Когда

14, 15, 16 апреля. У меня тогда заканчивается отпуск.

7. Предложения

Открыт к предложениям к улучшению.

Conformance

Conformance requirements are expressed with a combination of descriptive assertions and RFC 2119 terminology. The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in the normative parts of this document are to be interpreted as described in RFC 2119. However, for readability, these words do not appear in all uppercase letters in this specification.

All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. [RFC2119]

Examples in this specification are introduced with the words “for example” or are set apart from the normative text with class="example", like this:

This is an example of an informative example.

Informative notes begin with the word “Note” and are set apart from the normative text with class="note", like this:

Note, this is an informative note.

References

Normative References

[RFC2119]
S. Bradner. Key words for use in RFCs to Indicate Requirement Levels. March 1997. Best Current Practice. URL: https://tools.ietf.org/html/rfc2119