This repository was archived by the owner on Jun 27, 2022. It is now read-only.
Development Release v0.1.dev7 #81
Luna-Klatzer
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v0.1.dev7 - 2022-01-27
Added
LinkerandLinkerMetaDataclasses for the linking step and dependencyanalysis that is between the logical analysis and code
generation/optimisation.
parac-build.pyto simplify the building process by allowing formore configuration. This also includes web-download and automatic global
installation.
requirementsfolder with requirements for each use-case likedev,prodor
common(base requirements for bothdevandprod).ProgramCompilationContext.parse_all_files(), which will parseall files.
project_rootforBasicProcess,ProgramCompilationContextandProgramCompilationContext, which defines the root of the project structure.This will also be used for relative naming and paths!
ParacProjectConfigfor handling json-config files. Thisis still in work and not going to be properly finished until the compiler
core has been done.
loggingwithout having to stick to CLI formatted logging.Updated
build.pytoparac-build.pyto not interfere with thebuildmodule.
optimisermodule and replaced it withoptimiser.py.ParacParseStreamto ParacQualifiedParseStream.CompileProcess._compile()toci_compile.CompileProcess._gen_preprocessor_temp_files()to
gen_preprocessor_temp_files().CompileProcess._run_preprocessor()topreprocess_files().log_errors_and_warningstoprefer_logging.ParacCompiler.validate_syntax()to be an entry-pointfunction, which will take as arguments the wanted file path and encoding.
This means no longer a
BasicProcessorCompileProcessisneeded!
parac-config.json, instead of dynamically fetching using entry files.This means it will be similar to GCC compiler using a pre-defined list of
files, and then link all of them together in the end making them ready for
execution.
Para-CtoParato suit better to its intended feature-set.parac-build.pytopara-build.py.ParactoPara.logging.pyCLI functions topara_ext_cli.ParaCompiler.validate_syntax()an instance method instead of class .method as it needs the
ParaCompilerruntime propertylogger.process.FinishedProcesstoprocess.CompileResult.process.ProgramCompilationProcesstoprocess.CompileProcess.LogicTokenandLogicStreamtoParseTokenandParseStream.a more straightforward module structure, while generating a parse stream.
Removed
modeinbin-config.json.SEPARATORandWINfrom const.py.RUNTIME_COMPILER.c-init, as the C Compiler configuration will from nowon be done using
para-config.json.dist_pathandbuild_pathfolders, as the code-file generation is nowhandled using
process.CompileResultandCompileResult.write_results().paralang_base.loggingmodule, which has now been completely replacedby the default
logginghandling, andparalang_base_cli.logging.This discussion was created from the release Development Release v0.1.dev7.
Beta Was this translation helpful? Give feedback.
All reactions