- 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
推薦閱讀
- DevOps:軟件架構師行動指南
- Android項目開發入門教程
- .NET 4.0面向對象編程漫談:基礎篇
- C語言程序設計案例式教程
- WordPress Plugin Development Cookbook(Second Edition)
- 大話Java:程序設計從入門到精通
- Android應用開發實戰
- C編程技巧:117個問題解決方案示例
- Building Slack Bots
- After Effects CC技術大全
- 計算機組裝與維護(第二版)
- 例說FPGA:可直接用于工程項目的第一手經驗
- JavaScript語法簡明手冊
- JavaScript高級程序設計(第4版)
- Spring Boot 2+Thymeleaf企業應用實戰