Skip to content

DenisovNikita/fl-2021-hse-win

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concrete syntax parser

The project consisted in the development of a specific language syntax according to a given abstract syntax (details in ConcreteSyntax.md) and the implementation of a parser for it (details in Parser.md)

My project: language L + syntax feature 3 (Soft keywords)

Example programs work

We have a source file with code corresponding to the developed specific syntax

As a result of the work of the parser and the syntax analyzer, we get an abstract syntax tree

If the source file with the code does not match the syntax

Then, as a result of the work of the parser and the parser, we get a meaningful error message

Launch

  • The tests are located in the parser/tests/ folder. The parser itself is compiled into the parser/parser binary. It takes one parameter as input - the path to the file where the test is located. The script parser/run.sh runs all tests. To add tests, just write a test to a file and add it to the tests/ folder with the .in extension

Results

As a result, a presentation was made, which describes:

  • What was the task
  • How I solved it: what and why I chose the syntax, how I parsed
  • What difficulties arose and how I overcame them
  • What exactly did I do

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.9%
  • Other 1.1%