[Longshu Note] introduction to basic concepts involved in syntax analysis
This document is my understanding of sections 2.3-2.5 of longshu. It mainly introduces many basic concepts of syntax analysis on the compiler front-end. The next note will be
Regular Expression.
1. Test the mode of a string. For example, you can test an input string to see if there is a phone number or a credit card number. This is called Data Validity verification.
2. Replace text. You can use a regular expression in a
New Orcas language features-query syntax
New Orcas language features-query syntax
[Original address][Original article publication date] Saturday, 2017l 21,200
Last month I started a post series to discuss some new VB and C # language features
Overview Brief Introduction MarkdownMarkdown is a lightweight markup language that allows people to write documents in easy-to-read, easy-to-write, plain text format and then convert them into rich HTML pages. --from [Wikipedia]Simply put, markdown
Last time, we talked about the contextual language used in syntax analysis, the generative formula used to describe contextual grammar, the generative derivation, And the syntax analysis tree. Today, we will discuss how to compile a syntax analyzer.
Introduction to abstract syntax trees
(a) Introduction
Abstract syntax Code,ast is a tree representation of the abstract syntax structure of the source code, and each node in the tree represents a structure in the source code, so it is abstract
Overview
Title
Setext form
ATX Form
Chunk reference
Divider Line
Emphasize
List
Unordered list
Ordered list
Precautions
Link
Auto Link
Plain text Links
Show can describe information about the database system in various forms, such as data tables, fields, server status, and so on. There are roughly the following methods:
Show [All] COLUMNS from tbl_name [to db_name] [like ' pattern ']
Show CREATE
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.