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

https://github.com/sno2/unilang

A Rust crate for combining abstract programming concepts and generating working code in many different programming languages.
https://github.com/sno2/unilang

Last synced: 12 months ago
JSON representation

A Rust crate for combining abstract programming concepts and generating working code in many different programming languages.

Awesome Lists containing this project

README

          

# unilang

A Rust crate for combining abstract programming concepts and generating working code in many different programming languages.

## Languages

Unilang can output the following programming languages with full support:

- TypeScript
- Rust
- Python

### Partially Supported

- Python: Module system is partially supported.

## Concepts

- Scopes
- Functions
- Parameters (opt. types)
- Return Type (opt.)
- Statements
- Variable Initialization
- Variable Assignment
- Return
- Blocks
- If
- Else If
- Else
- Expressions
- Ternary
- Function Call
- Operations
- Add
- Subtract
- Multiply
- Divide
- Mod (Modulus)
- Constants
- True/False
- Types
- Number
- Integer

## Future

### Goals

- Support more languages.

### Non-goals

- Changing the output based upon the actual code.

## License

[MIT](./LICENSE)