UNPKG

@micro-os-plus/hello-world-qemu-template

Version:

A source xPack / npm package with a template to generate semihosted Hello World projects running on QEMU

7 lines (6 loc) 386 B
import { Context } from '../context'; export type UnaryOperatorHandler = (operand: any, ctx: Context) => boolean; export type BinaryOperatorHandler = (lhs: any, rhs: any, ctx: Context) => boolean; export type OperatorHandler = UnaryOperatorHandler | BinaryOperatorHandler; export type Operators = Record<string, OperatorHandler>; export declare const defaultOperators: Operators;