L Language Visual Studio Code Extension
Syntax highlighting and language support for the L Language (.ll files).
L Language is a programming language for real-time data analysis, featuring columnar and graph databases as first-class types.
1. Features
1.1. Syntax Highlighting
This extension provides syntax highlighting for:
- Comments —
// line comments and /* */ block comments
- Keywords —
if, elif, else, return, while, fn, async, in, within, include
- Types —
bool, byte, integer, long, double, character, u-character symbol, enumeration, date, timestamp, string, etc.
- Literals
- Boolean:
1b, 0b
- Hex byte:
0x00, 0xff
- Integer:
42i, -3i
- Long:
-2000, 2000
- Double:
3.14, -0.25
- Character:
't'
- U-character:
U'鷲'
- Symbol:
`theta, `name
- Date:
2026.04.01
- Timestamp:
2026.01.01_12:00:00.123456789
- Special:
:: (none), __NaN__, inf(i), inf(f), inf(d), inf(t)
- Bool list:
011b
- Byte list:
0x0aff14
- String:
"hello"
- U-string:
U"日本語"
- Operators —
+, -, *, %, =, ==, !=, !==, <, <=, >, >=, #, ,, &&, ||, &?, in, within, etc. expansion adapters /, \, |
- Assignment —
<- (define), <<= (overwrite), <~ (cast)
- Enumerations —
enum signal <- \green`yellow`redand accesssignal::`green`
- Column references —
$name, $age in query expressions
- List attributes —
u~, a~, d~, p~
- Built-in functions —
select, update, delete, insert, table, graph, map, count, range, save_table, load_csv, import, sleep, await, and more
- Function calls — any
identifier[...] call
1.2. Language Support (LSP Client)
This extension provides the LSP client.
1.2.1. Supported Functionalities
L supports following LSP functionalities:
- Hover: Get definition of variables
- Completion: Get completion candidates for typeing
- Diagnostics: Get code error on IDE
1.2.2. Configuration
l-language-vscode-extension.serverPath: Path to the L binary. If empty, it falls back to L on the PATH.
l-language-vscode-extension.includeDirectory: Root directory for including L files. Workspace directory is used if it is empty. The value must end with '/'
l-language-vscode-extension.trace.server: Trace level of LSP server.
2. Usage
Files with the .ll extension are automatically recognized as L source files.
3. Example
// Include module
@)#include<modules/library.ll>
// Define enum
@)enum sex <- `M`F
// Create a table
@)members <- table[`name`age`sex; {`John`Jacob`Mary; 18 25 60; sex::`M`M`F}]
// Query with conditions
@)select[members; `name`age; {{<; $age; 30}; {=; $sex; sex::`M}}]
// Async function
@)nonsleeper <- async fn (x) {
sleep[x];
return 42;
};
4. Links
5. Note
- L version v2026.11.0 or later is required.
- For packaging, do:
$ npm install -g @vscode/vsce typescript
$ npm install vscode-languageclient
$ npm install --save-dev @types/node @types/vscode dotenv esbuild
$ ./scripts/packaging.sh
| |