- Hands-On Data Structures and Algorithms with JavaScript
- Kashyap Mukkamala
- 133字
- 2021-06-30 19:12:10
Building part of a basic JavaScript syntax parser and evaluator
The main intent of this application is to show concurrent usage of multiple stacks in a computation-heavy environment. We are going to parse and evaluate expressions and generate their results without having to use the evil eval.
For example, if you want to build your own plnkr.co or something similar, you would be required to take steps in a similar direction before understanding more complex parsers and lexers, which are employed in a full-scale online editor.
We will use a similar base project to the one described earlier. To create a new application with angular-cli we will be using the CLI tool we installed earlier. To create the app run the following command in the Terminal:
ng new parser
推薦閱讀
- Java Web開(kāi)發(fā)學(xué)習(xí)手冊(cè)
- Android應(yīng)用程序開(kāi)發(fā)與典型案例
- SoapUI Cookbook
- Drupal 8 Blueprints
- TestNG Beginner's Guide
- Learn WebAssembly
- The Data Visualization Workshop
- 小程序,巧運(yùn)營(yíng):微信小程序運(yùn)營(yíng)招式大全
- Mastering Apache Spark 2.x(Second Edition)
- 快速念咒:MySQL入門(mén)指南與進(jìn)階實(shí)戰(zhàn)
- ArcGIS By Example
- INSTANT Passbook App Development for iOS How-to
- Node.js Design Patterns
- Android系統(tǒng)原理及開(kāi)發(fā)要點(diǎn)詳解
- 編程與類(lèi)型系統(tǒng)