Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrey-moura/uva-lang
https://github.com/andrey-moura/uva-lang
compiler interpreter lexer programming-language
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrey-moura/uva-lang
- Owner: andrey-moura
- Created: 2024-10-19T02:40:12.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-21T20:00:58.000Z (about 2 months ago)
- Last Synced: 2024-11-21T20:28:05.048Z (about 2 months ago)
- Topics: compiler, interpreter, lexer, programming-language
- Language: C++
- Homepage:
- Size: 295 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The uva programming language
Uva is an interpreted object-oriented multi-purpose programming language
# Availability
Environment | Build
--- | --- |
Ubuntu 20.04 | [![Ubuntu 20.04](https://github.com/andrey-moura/uva-lang/actions/workflows/build-ubuntu-20.04.yml/badge.svg)](https://github.com/andrey-moura/uva-lang/actions/workflows/build-ubuntu-20.04.yml)
Windows Server 2022 | [![Windows Server 2022](https://github.com/andrey-moura/uva-lang/actions/workflows/build-windows-2022.yml/badge.svg)](https://github.com/andrey-moura/uva-lang/actions/workflows/build-windows-2022.yml)# Building
On Linux or Windows Developer Command Prompt
```sh
git clone https://github.com/andrey-moura/uva-lang --recursive
cd uva-lang
cmake -B build .
cmake --build build --config Release --parallel
```# Install
After building, run as sudo on Linux or with an Administrator Command Prompt on Windows```sh
cmake --install build
```# Examples
If you want to run a sample, try:
```sh
uva examples/minimal.uva
```This file has the content:
```typescript
class Application
{
function run()
{
puts("Hello from minimal!");
}
}
```The result is:
```
Hello from minimal!
```