Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        


Alt Text

# 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!
```