Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Logica

< >

Logica is a query language created in 2020 by Evgeny Skvortsov.

Source code:
git clone https://github.com/evgskv/logica
#348on PLDB 4Years Old

Logica is a logic programming language that compiles to StandardSQL and runs on Google BigQuery.


Example from the web:
# Define natural numbers from 1 to 29. N(x) :- x in Range(30); # Define primes. Prime(prime: x) :- N(x), x > 1, ~( N(y), y > 1, y != x, Mod(x, y) == 0 );

Language features

Feature Supported Token Example
Comments ✓
# A comment
Line Comments ✓ #
# A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 625 · feedback@pldb.io