Skip to content

nicolasying/Compiler-L_AC

Repository files navigation

Interpreter L_AC

Supporting dup, drop, swap, ., count, type, = and calculate.

Strings are stored in a circular array.

At the end of each interpretation, the stack content will be displayed.

Errors are treated differently, sometimes a false value would be returned into the stack, sometimes not.

It is highly unstable on encountering erroneous inputs.

Compiler L_Ac

This project is a compiler on a VM provided by AC, for a language defined by AC, as part of the course of Theory of Programming Language and Algorithm.

Procedure-mocking compiler

Dynamic resolution of ANY by tracking

Up to 10 layer of conditional branch nesting

Parameters

[filename]

File structure

analex, Analyseur lexique, projet 1

BNF_C, Analyseur syntaxique, pour le command CALCULATE

calculate, Fonction CALCULATE, projet 2

interpreter,

processeur, fonctions mocquantes

Next phase

VM function list

following VM_LAC_hugolonicolasien VERSION 1.4

About

Compiler written in C for Language AC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published