This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { buf } = require("crc-32"); | |
const { readFile, stat } = require("fs").promises; | |
const { createWriteStream } = require("fs"); | |
const addon_data = JSON.stringify(require("./addon.json")); | |
class GMAFile { | |
constructor(fname) { | |
this.stream = createWriteStream(fname); | |
this.current_length = 8; // crc32 + 0 (uint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[------------------------------------------------------------------------- | |
2019.01.16 | |
Урезанный класс для склонения русских слов | |
https://github.com/petrovich/petrovich-php | |
В оригинале работает с именами | |
Полезные ссылки: | |
https://petroleks.ru/gramota/13.php | |
https://pymorphy2.readthedocs.io/en/latest/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddCSLuaFile() | |
do -- override type functions | |
gtype = type | |
local getmetatable = getmetatable | |
local rawequal = rawequal | |
getmetatable("").MetaName = "string" |