using PascalABCCompiler.Parsers; using PascalABCCompiler.ParserTools.Directives; using System.Collections.Generic; namespace Languages.SPython.Frontend.Data { internal class SPythonLanguageInformation : ILanguageInformation { public string Name => "SPython"; public string Version => "0.0.1"; public string Copyright => "Copyright © 2023-2026 by Vladislav Krylov, Egor Movchan"; public string[] FilesExtensions => new string[] { ".pys" }; public string[] SystemUnitNames => new string[] { "SPythonSystem", "SPythonHidden", "SPythonSystemPys" }; public bool SyntaxTreeIsConvertedAfterUsedModulesCompilation => true; public BaseKeywords KeywordsStorage { get; } = new SPythonParser.SPythonKeywords(); public Dictionary ValidDirectives { get; protected set; } public string CommentSymbol => "#"; public bool CaseSensitive => true; private readonly Dictionary specialModulesAliases = new Dictionary { { "time", "time1" }, { "random", "random1" }, }; public Dictionary SpecialModulesAliases => specialModulesAliases; } }