--package.cpath = package.cpath .. ';../bin/?.so;/usr/lib/lua/5.3/nylabind/?.so'
require 'site'
--require 'clibs'

if not NylonSysCore then
   require 'nylon.core'()
end

if not Pdcurses then
   require 'LbindPdcurses'
end

local Sqlite  = require 'NylonSqlite'

require 'NylonOs'


-- local nylonin = require 'nylon.core'
-- local Curses  = require 'LbindPdcurses'
--local x = Sqlite:new 'plstest.db'

print( 'Pdcurses=', Pdcurses )
print( 'NylonSqlite=', NylonSqlite )
print( 'NylonSysCore=', NylonSysCore )
print( 'NylonOs=', NylonOs )

Pdcurses.Static.initscr()

local db = NylonSqlite 'fts-test.db'

print('db=', type(db))
print('selectOne=', db.selectOne)


-- os.execute('stty sane')

print 'done'