Skip to content

chemodun/X4-LuaLSAddonPrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Data Repo for the Lua Language Server Addon for X4: Foundations Lua Scripts

This repo holds a source data for the Lua Language Server Addon for X4: Foundations Lua Scripts. Mentioned repo contains an addon for X4: Foundations Lua Scripts that can be used by the Lua Language Server. It adds definitions for functions and data types. This addon is designed to enhance the development experience for Lua scripting in X4: Foundations.

How to use the addon

Please refer to the appropriate Readme file for the respective addon.

Progress

  • Get data from the X Wiki
  • Parse the data
  • Reconciliation of the data from Wiki
  • Add data from an extracted Lua files for ffi/C functions and data types
  • Enrichment of the data from the extracted Lua files
  • Add data from the extracted Lua files for the Helper functions
  • Enrichment of the data for the Helper functions
  • Add data from the extracted Lua files for the Globally Exposed functions via AddGlobalAccess.
  • Reconciliation and enrichment of the Globally Exposed functions
  • Detection of the undocumented functions
  • Reconciliation and enrichment of the undocumented functions

This source data

The data is collected into the Hjson format for easier manipulation and access.

Lua Documented Functions

Located in the x4-lua-functions.hjson file.

This file contains the data for the documented functions. The data is collected from the X Wiki.

Lua Undocumented Functions

Located in the x4-undocumented-functions.hjson file.

This file contains the data for the undocumented functions. The data is collected from the extracted Lua files. The data is not reconciled with the X Wiki data.

Lua C Functions and Types Definitions

Located in the x4-ffi-definitions.hjson file.

This file contains the data for the C functions and types definitions. The data is collected from the extracted Lua files.

Lua Helper Functions

Located in the x4-helper-functions.hjson file.

This file contains the data for the Helper functions. The data is collected from the extracted Lua files.

Lua Globally Exposed Functions

Located in the x4-globally-exposed.hjson file.

This file contains the data for the function globally accessed via AddGlobalAccess. The data is collected from the extracted Lua files.

The main idea

Contribution

If you want to contribute to the project, please take part in editing respective .hjson files.

License

This addon is licensed under the MIT license. See LICENSE for the full license text.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published