Show simple item record

dc.contributor.advisorČerāns, Kārlis
dc.contributor.authorJefimovs, Arturs
dc.contributor.otherLatvijas Universitāte. Eksakto zinātņu un tehnoloģiju fakultāte
dc.date.accessioned2025-06-28T01:06:35Z
dc.date.available2025-06-28T01:06:35Z
dc.date.issued2025
dc.identifier.other107930
dc.identifier.urihttps://dspace.lu.lv/dspace/handle/7/71074
dc.description.abstractDarbs ir veltīts programmēšanas valodas Oberons (Paskāļa sekotāja) kompilatora izstrādei, lai pārveidotu to par mūsdienu procesoru mašīnkodu. Izvēlētais procesors ir Apple Silicon (ARM64) ar operētājsistēmu macOS. Pētījuma galvenais mērķis ir izveidot instrumentu, kas ļauj kompilēt Oberonā rakstīto pirmkodu objektkodā, kas ir saderīgs ar mūsdienu ARM64 arhitektūras procesoriem. Darbā paredzēts apskatīt un realizēt visus galvenos programmēšanas valodas tulkošanas posmus: sākot no leksiskās un sintaktiskās analīzes un tipu saderības pārbaudes līdz starpreprezentācijas koda un mašīnkoda ģenerēšanai un izpildāmā faila sastatīšanai. Īpaša uzmanība tiks pievērsta mūsdienu ARM64 arhitektūras procesora specifikai un problēmām, kas saistītas ar Oberona valodas īpašību pielāgošanu zema līmeņa platformai. Tāpat tiks uzsvērta pirmkoda stila un skaidrības nozīme, jo pats kompilators tiks rakstīts Oberona valodā. Darba galarezultāts ir funkcionējošs kompilatora prototips, kuru varēs izmantot turpmākai attīstībai un Oberona valodas potenciāla izpētei mūsdienu skaitļošanas sistēmās.
dc.description.abstractThis thesis presents the design and implementation of a compiler for the Oberon programming language, a successor of Pascal, targeting modern processor architectures. The chosen platform is Apple Silicon (ARM64) running the macOS operating system. The primary goal of this research is to develop a toolchain capable of translating Oberon source code into object code compatible with contemporary ARM64 processors. The work encompasses all major stages of compilation, including lexical and syntactic analysis, type checking, intermediate code generation, machine code emission, and executable linking. Particular emphasis is placed on addressing the architectural specifics of ARM64 and the challenges associated with adapting the high-level semantics of Oberon to a low-level execution environment. The clarity and structure of the source code are also highlighted, as the compiler itself is implemented in Oberon. The outcome of this thesis is a functioning compiler prototype, providing a foundation for future development and further investigation into the applicability of the Oberon language in modern computing environments.
dc.language.isolav
dc.publisherLatvijas Universitāte
dc.rightsinfo:eu-repo/semantics/openAccess
dc.subjectDatorzinātne un informātika
dc.subjectcompiler
dc.subjectOberon
dc.subjectApple
dc.subjectARM64
dc.subjectkompilators
dc.titleKompilatora izveide Oberon valodai Apple Silicon (ARM64) procesora mašīnkodā
dc.title.alternativeCompiler Construction for the Language Oberon Targeting Apple Silicon (ARM64) Machine Code
dc.typeinfo:eu-repo/semantics/masterThesis


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record