Valk Richard Li 6b6fcd9a49 Delete lab.cpp
2019-09-25 20:40:39 +08:00
2019-08-05 23:21:53 +08:00
2019-09-01 14:25:05 +08:00
2019-09-25 20:40:39 +08:00
2019-08-11 23:16:40 +08:00
2019-08-21 22:19:48 +08:00
bug
2019-08-22 19:05:09 +08:00
2019-08-24 11:38:22 -05:00
2019-08-30 08:37:49 -05:00
2019-09-01 00:20:48 -05:00
2019-09-06 00:00:17 +08:00
2019-09-09 09:51:54 -05:00
2019-09-11 10:29:00 -05:00
2019-09-15 05:53:04 -05:00
2019-09-17 18:49:57 +08:00
2019-09-18 10:39:09 -05:00
2019-09-25 07:01:05 -05:00
2019-07-25 02:11:59 +08:00
2019-09-09 23:10:50 +08:00

Nasal Interpreter

Nasal

Nasal is a script language that used in FlightGear.

There is a Nasal console in FlightGear but sometimes it is not so easy for every developer to use.

So this is an interpreter for Nasal written by C++.

The interpreter is still in development.Anyone who interested in this could also join us!

Now complete add and sub in abstract syntax tree

And add a command 'ast' to see the AST

and command 'run' can give you the result

Now complete Lexical Analysis!

What it looks like?

( Identifier | engineTimer )

( Operator | . )

( Identifier | start )

( Operator | ( )

( Operator | ) )

( Operator | ; )

( ReserveWord | print )

( Operator | ( )

( String | "Engine started" )

( Operator | ) )

( Operator | ; )

This is what it outputs.

Push down automata

After many times of failure,i finally try to use PDA to do the parse work.

Description
No description provided
Readme 10 MiB
Languages
C++ 55.7%
Nasal 37.3%
HTML 2.7%
JavaScript 1.8%
Makefile 1.3%
Other 1.1%