Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor_main.cpp File Reference
#include "../../../Runtime/Phasor/ScriptingRuntime.hpp"
#include "../../../Runtime/Shared/BinaryRuntime.hpp"
#include "../../../Frontend/Phasor/Frontend.hpp"
#include <print>
#include <string>
#include <vector>
#include <filesystem>
#include <iterator>
#include <unistd.h>
Include dependency graph for Phasor_main.cpp:

Go to the source code of this file.

Macros

#define IS_TERMINAL   isatty(fileno(stdin))

Functions

std::string readStdin ()
 Reads all content from stdin until EOF (piped input).
void showHelp (const fs::path &program="phasor")
int main (int argc, char *argv[], char *envp[])

Macro Definition Documentation

◆ IS_TERMINAL

#define IS_TERMINAL   isatty(fileno(stdin))

Definition at line 15 of file Phasor_main.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[],
char * envp[] )

Definition at line 56 of file Phasor_main.cpp.

Here is the call graph for this function:

◆ readStdin()

std::string readStdin ( )

Reads all content from stdin until EOF (piped input).

Definition at line 21 of file Phasor_main.cpp.

Here is the caller graph for this function:

◆ showHelp()

void showHelp ( const fs::path & program = "phasor")

Definition at line 34 of file Phasor_main.cpp.

Here is the caller graph for this function: