Skip to content

SkecisAI/LexicalAnalysis

Repository files navigation

LexicalAnalysis

使用C++编写的词法分析器

代码示例

main()
{
    int sum1 = 12, sum2;
    decimal this_is_a_decimal=5.122332/ 0.92132;
    char this_is_alpha='a';
    bool _is_ok=True;
    if(sum1 >= 20)
    {
        print('big');
    }
    else
    {
        print('small');
    }
}

分析结果

result

About

使用C++编写的词法分析器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages