Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Compiler (to .pex) #3

Open
DvvCz opened this issue Dec 28, 2022 · 0 comments · May be fixed by #6
Open

Compiler (to .pex) #3

DvvCz opened this issue Dec 28, 2022 · 0 comments · May be fixed by #6
Labels
enhancement New feature or request

Comments

@DvvCz
Copy link
Owner

DvvCz commented Dec 28, 2022

This needs to be able to compile the Ast to .pex files.

Skyrim reference: https://en.uesp.net/wiki/Skyrim_Mod:Compiled_Script_File_Format#Sections

There doesn't seem to be a reference for fallout unfortunately, so either I'll need to manually reverse engineer the differences or take a look at other open source codebases.

@DvvCz DvvCz added the enhancement New feature or request label Dec 28, 2022
DvvCz added a commit that referenced this issue Dec 29, 2022
Progress to #3.

* Validation pass, currently very basic, ensuring variables are defined when being assigned to. Ironically this fails the skyrim test suite because the code has a typo.

* StringTable pass that sweeps through the ast and inserts all function, property, event, struct, string literals and identifiers into a string table that will be used to compile to .pex
@DvvCz DvvCz linked a pull request Jan 19, 2023 that will close this issue
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant