chomik 0.2.1
experimental and minimalistic programming language

My name is Pawel Biernacki.
I am a software engineer.
This site is my hobby project.

Loading...
Searching...
No Matches
chomik::program Class Reference

#include <chomik.h>

Public Member Functions

 program ()
 
void execute (machine &m) const
 
void report (std::ostream &s) const
 
void add_statement (std::shared_ptr< statement > &&s)
 

Detailed Description

An instance of this class is created in the interpreter, it is configured by the parser, can be reported and executed.

Constructor & Destructor Documentation

◆ program()

chomik::program::program ( )

Member Function Documentation

◆ add_statement()

void chomik::program::add_statement ( std::shared_ptr< statement > && s)

◆ execute()

void chomik::program::execute ( machine & m) const

◆ report()

void chomik::program::report ( std::ostream & s) const
inline

The documentation for this class was generated from the following file:

copyright by Pawel Biernacki

Vantaa 2022