xbasic 0.3.2

A library that allows adding a scripting language onto your project with ease. This lets your users write their own arbitrary logic.
Documentation
use num_derive::FromPrimitive;

#[derive(Copy, Clone, FromPrimitive)]
pub(crate) enum OpCode {
	Pop,
	Print,
	Input,
	Literal8,
	Literal16,
	Nil,

	Var,
	SetVar,

	Add,
	Sub,
	Mul,
	Div,
	Pow,
	Mod,
	Inc,

	Equal,
	Less,
	LessEqual,
	Greater,
	GreaterEqual,

	And,
	Or,

	Not,
	Minus,

	Jne,
	Jmp,
	JmpBack,

	Call,
	Native,
	Ret,
}