Skip to content

tkas9mbek/TBFL

Repository files navigation

TBFL

CS 315 - Programming Languages team project.
TBFL(The Best Friendly Language) is a simple language designed for operations on sets. It provides users to declare a new data type ‘set’, as well as other data types, such ‘num’, ‘char’ and ‘boolean’.
For example,
    set @X = { 1, 5, 6}; is declaration and initialization of ‘set’ data type.
User can do set operations and some mathematical operations on the sets: union(<), intersection(>), difference(-), cross product(*). For example,
    set @Y = @X - { 2, 5, 6}; /** @Y = { 1 } **\
Also it provides user to write comments on code, define functions, use for-loop and if-else statement and some other features:
     /** for-loop **\
     for ( num @n = 0; @n << 10; @n ++) do
        /** if statement **\
        if( @X->size << 10) do
             @X < @n;
        end
    end

About

CS 315 - Programming Languages team project. TBFL is a simple programming language that provides user to do arithmetic and set operations on sets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published