Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aurimasniekis/lpl

Language and Platform independent libraries
https://github.com/aurimasniekis/lpl

Last synced: about 2 months ago
JSON representation

Language and Platform independent libraries

Awesome Lists containing this project

README

        

#LPL

Language and Platform independent libraries

##Key features:
* Platform independent
* Language Independent
* General function language
* Translation of code module to any platform or language defined
* Use one language syntax for e.g. Ruby

##Eg:
```ruby
use SPI
SPI.Write(0xFF1020);
```
##Translates to:
```C
Chip_SPI_Write(SPI1, 0xFF);
Chip_SPI_Write(SPI1, 0x10);
Chip_SPI_Write(SPI1, 0x20);
```
##Or
```C
SPI.begin();
SPI.transfer(0xFF);
SPI.transfer(0x10);
SPI.transfer(0x20);
```