Skip to content

Latest commit

 

History

History

Lexer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Lexical Analysis

Lexer Build Status

Introduction

Lexical analysis is the process of converting a string of characters into a sequence of tokens. A token is a string with an assigned and thus identified meaning. The sequence of tokens is called a token stream. The token stream is used as input for the parser.

Lexical Analysis

Lexical Analyzer

Recognizes all basic keywords such as cns,var,Tensor etc and operators used by our language

Error Handling

Our lexer can recognize unclosed comments ,strings and overflows in constant values

Testing

go inside the Lexer folder and then run

make 
make test 

This should run the test cases and report their results

References

C Lexer