Tech News
← Back to articles

A different take on S-expressions

read original related products more articles

[about document]

Peculiar kind of S-expressions specification document [intended audience]

beginners in programming

table of contents

1. introduction

S-expressions (Symbolic Expressions) are a fundamental concept in computer science and programming language theory. S-expressions are a simple, yet powerful notation for representing nested list data structures and code in a parenthesized form. They are commonly associated with the Lisp family of programming languages, where they serve both as a way to represent code and data uniformly.

S-expr is a S-expression parsing library. Other than usual treatment of atoms and lists, it features peculiar decisions in syntax definition regarding strings, comments, and transposed blocks of contents.

2. informal definition

The general form of an S-expression is either:

An atom (e.g., atom ), or

... continue reading