aboutsummaryrefslogblamecommitdiff
path: root/nerv.lua
blob: ccff0a0667be6904f8d290a0ddefca42e2d298b0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                 
                     









                                                                 
require 'libnerv'
require 'matrix.init'
nerv.class = require 'pl.class'
nerv.utils = require 'pl.utils'

function nerv.error(fmt, ...)
    error(nerv.utils.printf("Nerv internal error: " .. fmt, ...))
end

function nerv.error_method_not_implement()
    nerv.error("method not implemented");
end