Skip to content

Trigan2025/language-lifeplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

language-lifeplay

LifePlay modding’s language grammar

Well, it’is a syntax-highlighting package for the modding files of a certain nsfw game named LifePlay, writes for the Pulsar text editor.
It also include some snippets.

Some notes to take into consideration:

  • Since LifePlay only support CRLF (\r\n) as line endings AFAIK, it will be enforced and all existing LF (\n) line endings will be automatically converted.
  • Since LifePlay only support 4-spaces indentations AFAIK, there will be enforced and all TAB indentations (\t) will be automatically converted.
    • Apart for the lp-character of course, since it is not supposed to have any indentation anyway, so we don’t care (but you can still toggle it on).
  • By default, all modification in the settings concerning the two mentioned above will be reset instantly (but you can disable that).

All this is of course to ensure we not ends up wandering on wondering why our mod don’t seems to work.

One of the files I don’t include the support for is the lpworld one, but:

  1. there is very rare case where we would want to modify them manually
  2. we can choose the C# grammar to get something somewhat readable

Finally, please note that it is a simple TextMate-like grammar and not a tree-sitter grammar since this latter require some additional work like compiling and publishing the parser to the NPM registry before packaging it back in the grammar package.
So, maybe I will do it later, but for now I find simple is sufficient.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published