Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

interpreter Sticky Locked

A topic by Oblerion Studio created 93 days ago Views: 33
This topic was locked by Oblerion Studio 93 days ago
Viewing posts 1 to 2
Developer (1 edit)

interpreter table template

-- name is variable package
local interpreter={
  name=name,
  description="desc interpreter",
  api={name},
  luaversion="5.3",
  frun=function(self,wfilename) -- when interpreter call
    local cur_file =  wfilename:GetFullPath()
    local bin = "interpreter.exe"
    cmd = string.format("%s %s",bin,cur_file)
    return CommandLineRun(cmd,self:fworkdir(wfilename),true,true,nil,nil,nil)
  end,
  skipcompile = true,
  hasdebugger=false,
  scratchextloop = false,
  takeparameters = true
}
Developer locked this topic