nsbaci 1.0
Loading...
Searching...
No Matches
nsbaci::services Namespace Reference

Services namespace containing all backend service implementations. More...

Namespaces

namespace  runtime
 Runtime services namespace for nsbaci.

Classes

class  CompilerService
 service for compiling nsbaci (or maybe other stuff in the future) source code. More...
class  DrawingService
 Adapter service for graphical output backends. More...
class  FileService
 Service for handling file system operations on BACI source files. More...
struct  RuntimeResult
 Result of a runtime operation (step, run, etc.). More...
class  RuntimeService
 Service that manages program execution. More...

Enumerations

enum class  RuntimeState { Idle , Running , Paused , Halted }
 Possible states of the runtime service. More...

Detailed Description

Services namespace containing all backend service implementations.

Services namespace for nsbaci.

This namespace contains service classes that encapsulate specific functionality areas such as file I/O, compilation, and runtime execution.

Enumeration Type Documentation

◆ RuntimeState

enum class nsbaci::services::RuntimeState
strong

Possible states of the runtime service.

Represents the lifecycle states of program execution:

  • Idle: Initial state, no program loaded or execution completed
  • Running: Active execution in progress
  • Paused: Execution suspended, can be resumed or stepped
  • Halted: Program has finished (reached Halt instruction)
Enumerator
Idle 

No program loaded or ready to start.

Running 

Program is actively executing.

Paused 

Execution paused, can step or continue.

Halted 

Program has finished execution.