public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
47dad9a86594ddcbfae1fff62c4d43de25c164ed blob 710 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
@include _ext.texi

@node Language Specification
@chapter Specification

@section Introduction

This document specifies the semantics and behavior of the O Programming
Language for compiler designers be informed how the language is designed.

This specification is a DRAFT and will be the discussions drive over olang-dev
mailing list.

@section Language Syntax

This is the O Programming Language EBNF grammar specification[^1]

[^1]: EBNF variant https://github.com/Engelberg/instaparse/tree/v1.4.12 and live
      test can be accessed here https://mdkrajnak.github.io/ebnftest/

NOTE: This grammar spec is a DRAFT and it covers only a small portion of the
language.

@sethl ebnf
@verbatiminclude olang.ebnf
debug log:

solving 47dad9a ...
found 47dad9a in http://lists.johnnyrichard.com/olang/20241108042411.105478-1-carlos@maniero.me/
found 707d932 in https://git.johnnyrichard.com/olang.git
preparing index
index prepared:
100644 707d9323ae51f2865ec5afc54176fc9eda583dfa	docs/info/specification.texi

applying [1/1] http://lists.johnnyrichard.com/olang/20241108042411.105478-1-carlos@maniero.me/
diff --git a/docs/info/specification.texi b/docs/info/specification.texi
index 707d932..47dad9a 100644

Checking patch docs/info/specification.texi...
Applied patch docs/info/specification.texi cleanly.

index at:
100644 47dad9a86594ddcbfae1fff62c4d43de25c164ed	docs/info/specification.texi

Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox