gibica package

Gibica package.

Submodules

gibica.ast module

gibica.builtins module

gibica.entrypoint module

gibica.exceptions module

Exceptions module.

exception gibica.exceptions.InterpreterError

Bases: exceptions.Exception

Interpreter error.

exception gibica.exceptions.LexicalError

Bases: exceptions.Exception

Lexical error.

exception gibica.exceptions.ObjectError

Bases: exceptions.Exception

Object error.

exception gibica.exceptions.SementicError

Bases: exceptions.Exception

Sementic error.

exception gibica.exceptions.SyntaxError

Bases: exceptions.Exception

Syntax error.

exception gibica.exceptions.TypeError

Bases: exceptions.Exception

Type error.

gibica.interpreter module

gibica.lexer module

gibica.memory module

Memory module.

class gibica.memory.Frame(*args, **kwargs)

Bases: list

Frame of Scope objects.

current

Get the current scope of the frame.

class gibica.memory.Memory(**kwags)

Bases: object

Memory object representation.

append_frame(**kwargs)

Create a new frame.

append_scope()

Create a new scope in the current frame.

pop_frame()

Delete the current frame.

pop_scope()

Delete the current scope in the current frame.

class gibica.memory.Scope

Bases: dict

Memory scope object.

class gibica.memory.Stack(*args, **kwargs)

Bases: list

Stack of Frame objects.

current

Get the current frame of the stack.

gibica.parser module

gibica.sementic module

gibica.tokens module

gibica.types module