nodespeak 0.2.1

A JIT-ish compiler for number-crunching applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::high_level::problem::*;
use ProblemType::Error;
use ProblemType::Hint;

pub fn void_value(value_pos: FilePosition) -> CompileProblem {
    CompileProblem::from_descriptors(vec![ProblemDescriptor::new(
        value_pos,
        Error,
        "Void Value\nThe highlighted expression does not return anything:",
    )])
}