I-Lang Syntax Reference

Welcome to the I-Lang syntax reference. This page provides an overview of the I-Lang language, including its syntax and common patterns.

Interactive Examples

READ data FROM "example.csv"
WRIT data TO "example.json"
FILT data WHERE condition = "true"
SORT data BY field ASC
MERGE data1 WITH data2 ON field
CREA data FROM "example.csv" WITH schema
PLAN query ON data
EVAL expression ON data
WRITE result TO "example.txt"
EXIT

Syntax Cheat Sheet

Command Description
READ Read data from a file
WRIT Write data to a file
FILT Filter data based on a condition
SORT Sort data by a field
MERGE Merge two datasets based on a field
CREA Create a new dataset from a file
PLAN Plan a query on a dataset
EVAL Evaluate an expression on a dataset

Common Patterns

I-Lang provides several common patterns for data processing, including:

Error Examples

READ data FROM "non-existent-file.csv"
WRIT data TO "example.json" WITH invalid JSON
FILT data WHERE invalid condition