Warning: Work in progress! Leave feedback on Zulip or Github if you'd like this doc to be updated.

Oil Expressions vs. Python

Oil's expression language borrows heavily from Python.

In fact, it literally started with Python's Grammar/Grammar file.

Table of Contents
Literal Syntax
New Literals
Operators
New Operators
Semantic Differences
Related Links

Literal Syntax

New Literals

Operators

Kinds of of operators:

Equality:

Oil doesn't overload operators as much, and does string <-> int conversion:

No "accidentally quadratic"

Other:

New Operators

Semantic Differences

Related Links


Generated on Tue Jul 6 00:43:52 PDT 2021