Lenga
A toolkit for working with the Lenga format.
Requirements
Lenga requieres the following tools to build:
- A Protobuf compiler
Library
Lenga provides a library for manipulating language in Lenga format.
Usage
[]
= "1.0.0"
use ;
Tools
Lenga provides some CLI tools to promote usage of Lenga format
Transpile
Simple transpilation tool to convert to/from Lenga format. To use it simply run:
transpile <file>
Supported languages:
- C
Lenga-Server
A language like server to facilitate editors file manipulation. Usage:
lenga-server
* As of versión 1.0.0 the server always starts in port 49100.
Merge
An intelligent merge algorithm for Lenga files. For CLI execution the following can be run:
merge <origin> <current> <other>
Git integration
Append to .git/config
[merge "c-lenga-driver"]
name = A custom merge driver used to resolve conflicts in Lenga files
driver = merge %O %A %B
Append to .gitattributes
*.c.lenga merge=c-lenga-driver"