retoor ae0d8841ff
Build and test / build (push) Failing after 29s
Update.
2025-03-16 04:43:32 +01:00
2025-01-18 23:15:47 +01:00
2025-03-16 04:43:32 +01:00
2025-01-18 23:15:47 +01:00
2025-03-16 04:43:20 +01:00
2025-03-16 04:43:20 +01:00
2025-01-18 23:15:47 +01:00
2025-01-18 23:15:47 +01:00
2025-03-16 04:43:20 +01:00
2025-01-18 23:15:47 +01:00

Dobre - general purpose language

Usage

Syntax example

class A {}
class B(A){
    A a = 0
}
B *b = 1

Compliation

Run make build

Tests

Run make test

Run custom file

Execute ./bin/dobre [file]

Parser

Statistics

1841408 lines and 16572616 tokens

  • Lines per second: 170748.984375
  • Time; 10.78s

Features

  • declare class optionally classes to extend. These are two different notations.
  • prevent double declaration of classes.
  • prevent double declaration of classes to extend.
  • declare variable with native types (char, int, bool).
  • declare variable with new specified classes.
  • prevent declaration of variable with non existing type or class.
  • declare variable assign.

Todo

  • assignment to boolean (crashes).
  • assignment to symbol (crashes).
S
Description
A multipurpose programming language.
Readme
506 KiB
Languages
C 97.5%
Makefile 2.5%