Skip to content

A simple repository that bundles intepreters, and allows you to write plugins in langauges that aren't lua for `lite-xl`.

Notifications You must be signed in to change notification settings

adamharrison/lite-xl-foreign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lite-xl-foreign

A simple repository that bundles intepreters, and allows you to write plugins in langauges that aren't lua for lite-xl.

Description

You may ask: dear god, why?

Better question: why not?

Examples

Installing the ruby-loader plugin allows you to do things like installing the following plugin into your normal folder plugins folder in lite-xl:

# mod-version:3

core = Lua.require("core")
core.log_quiet.call("TEST")
old_log_quiet = core.log_quiet
core.log_quiet = Proc.new { |str, *args|
  puts "LOG QUIET: #{str} #{args}"
  old_log_quiet.call(str, *args)
}

You should have full interop with most lite-xl lua functions.

About

A simple repository that bundles intepreters, and allows you to write plugins in langauges that aren't lua for `lite-xl`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages