Another really useful ability in an ANTLR based parser is that you can การแปล - Another really useful ability in an ANTLR based parser is that you can ไทย วิธีการพูด

Another really useful ability in an


Another really useful ability in an ANTLR based parser is that you can use any rule in the grammar as starting point, which is not easily possible with a YACC based parser. All grammar rules are generated as functions (remember: recursive descent parser). So you can always call any of them with your input, e.g. you can easily only parse expressions, instead of a full query. We use this ability to parse SQL code in our object editors (stored procedures, triggers etc.) which implicitly disallows any other SQL code not allowed at this point. Also datatype parsing uses the new parser, allowing for maximum conformity of user specified data types and good feedback to the user in case of an error. For developers very important is also the fact that you can easily debug the parser code, if needed. Try that with a YACC based parser which is only iterating over states.

Finally, the server grammar has got quite a number of problems, like a big number of shift-reduce conflicts, a handwritten lexer which is hard to maintain, trouble with semantic action execution (multi execution if not carefully placed) and others. However, the server team is constantly working on improving their parser. It’s just not a good choice for MySQL Workbench.

We decided to use the C target from ANTLR because the C++ support was not only incomplete (and still is) but lead to huge compilation times. Integrating a C module in a C++ environment is trivial and rewards us with a high performance parser.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
Another really useful ability in an ANTLR based parser is that you can use any rule in the grammar as starting point, which is not easily possible with a YACC based parser. All grammar rules are generated as functions (remember: recursive descent parser). So you can always call any of them with your input, e.g. you can easily only parse expressions, instead of a full query. We use this ability to parse SQL code in our object editors (stored procedures, triggers etc.) which implicitly disallows any other SQL code not allowed at this point. Also datatype parsing uses the new parser, allowing for maximum conformity of user specified data types and good feedback to the user in case of an error. For developers very important is also the fact that you can easily debug the parser code, if needed. Try that with a YACC based parser which is only iterating over states.Finally, the server grammar has got quite a number of problems, like a big number of shift-reduce conflicts, a handwritten lexer which is hard to maintain, trouble with semantic action execution (multi execution if not carefully placed) and others. However, the server team is constantly working on improving their parser. It’s just not a good choice for MySQL Workbench.We decided to use the C target from ANTLR because the C++ support was not only incomplete (and still is) but lead to huge compilation times. Integrating a C module in a C++ environment is trivial and rewards us with a high performance parser.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!

อีกความสามารถที่มีประโยชน์มากในการแยกวิเคราะห์ตาม ANTLR เป็นที่คุณสามารถใช้กฎใด ๆ ในไวยากรณ์เป็นจุดเริ่มต้นที่เป็นไปไม่ได้อย่างง่ายดายด้วยตัวแยกวิเคราะห์ตาม YACC กฎไวยากรณ์ทั้งหมดจะถูกสร้างขึ้นเป็นฟังก์ชั่น (จำ: parser โคตร recursive) เพื่อให้คุณสามารถเรียก ๆ ของพวกเขาด้วยการป้อนข้อมูลของคุณเช่นคุณสามารถแยกการแสดงออกแทนการใช้แบบสอบถาม เราใช้ความสามารถในการแยกรหัส SQL ในการแก้ไขวัตถุของเรา (วิธีการจัดเก็บเรียก ฯลฯ ) ซึ่งโดยปริยายใด ๆ ไม่อนุญาตให้ SQL รหัสอื่น ๆ ที่ไม่ได้รับอนุญาตที่จุดนี้ นอกจากนี้ยังมีการแยกประเภทข้อมูลที่ใช้ตัวแยกวิเคราะห์ใหม่เพื่อให้สอดคล้องสูงสุดของชนิดข้อมูลที่ผู้ใช้กำหนดและข้อเสนอแนะที่ดีให้กับผู้ใช้ในกรณีที่มีข้อผิดพลาด สำหรับนักพัฒนาที่สำคัญมากนอกจากนี้ยังเป็นความจริงที่ว่าคุณสามารถแก้ปัญหารหัส parser ถ้าจำเป็น ลองว่าด้วยการแยกวิเคราะห์ตาม YACC ซึ่งเป็นเพียงการทำซ้ำมากกว่ารัฐ. สุดท้ายไวยากรณ์เซิร์ฟเวอร์ได้มีจำนวนมากของปัญหาเช่นจำนวนมากของการเปลี่ยนแปลง-ลดความขัดแย้งเป็น lexer ที่เขียนด้วยลายมือซึ่งยากที่จะรักษาปัญหาเกี่ยวกับการดำเนินการความหมาย การดำเนินการ (การดำเนินการหลายถ้าไม่ได้อยู่อย่างระมัดระวัง) และอื่น ๆ อย่างไรก็ตามทีมเซิร์ฟเวอร์จะทำงานอย่างต่อเนื่องในการปรับปรุงตัวแยกวิเคราะห์ของพวกเขา มันเป็นเพียงแค่ไม่ได้เป็นทางเลือกที่ดีสำหรับ MySQL Workbench. เราตัดสินใจที่จะใช้เป้าหมาย C จาก ANTLR เพราะการสนับสนุน C ++ ไม่ได้เป็นเพียงที่ไม่สมบูรณ์ (และยังเป็น) แต่นำไปสู่การรวบรวมครั้งใหญ่ การบูรณาการโมดูลซีใน c ++ สภาพแวดล้อมที่เป็นที่น่ารำคาญและผลตอบแทนเราด้วยตัวแยกวิเคราะห์ที่มีประสิทธิภาพสูง



การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!

อื่นความสามารถมีประโยชน์จริงๆใน antlr ตาม parser คือการที่คุณสามารถใช้กฎใด ๆ ในหลักไวยากรณ์เป็นจุดเริ่มต้นซึ่งเป็นไปไม่ได้ได้อย่างง่ายดายด้วย yacc parser ตาม กฎไวยากรณ์ที่ถูกสร้างขึ้นเป็นฟังก์ชั่น ( จำ : โคตร recursive parser ) ดังนั้นคุณสามารถเรียกพวกเขาด้วยการป้อนข้อมูลของคุณ เช่น คุณสามารถได้อย่างง่ายดายเพียงแยกสำนวน แทนการค้นหาแบบเต็มเราใช้ความสามารถในการแยกรหัส SQL ในการแก้ไขวัตถุของเรา ( ขั้นตอน จัดเก็บ ทริกเกอร์ ฯลฯ ) ซึ่งเป็นนัยไม่อนุญาตให้รหัสอื่น ๆไม่ได้รับอนุญาต ณจุดนี้ นอกจากนี้ชนิดข้อมูลการใช้ parser ใหม่ให้สอดคล้องสูงสุดของผู้ใช้กำหนดชนิดข้อมูลและข้อเสนอแนะที่ดีกับผู้ใช้ในกรณีของข้อผิดพลาดสำหรับนักพัฒนาที่สำคัญมากคือความจริงที่ว่าคุณสามารถแก้ปัญหาสำหรับรหัส , ถ้าจำเป็น พยายามที่กับ yacc parser ซึ่งเป็นเพียงมากกว่ารัฐตาม

ในที่สุด ไวยากรณ์เซิร์ฟเวอร์มีจํานวนมากของปัญหา เช่น ตัวเลขขนาดใหญ่ของกะลดความขัดแย้ง , lexer ลายมือซึ่งยากที่จะรักษาปัญหากับการกระทำความหมาย ( หลายคดีถ้าไม่ระวังไว้ ) และคนอื่น ๆ อย่างไรก็ตาม ทีมเซิร์ฟเวอร์อยู่ตลอดเวลาทำงานในการปรับปรุงสำหรับพวกเขา เพียงแต่มันไม่ได้เป็นทางเลือกที่ดีสำหรับ MySQL Workbench

เราตัดสินใจที่จะใช้ C เป้าหมายจาก antlr เพราะ C สนับสนุนไม่เพียง แต่ไม่สมบูรณ์ ( และยังคงมี ) แต่นำไปสู่การรวบรวมครั้งใหญ่บูรณาการ C โมดูลใน C สิ่งแวดล้อมเป็นเรื่องไร้สาระและรางวัลเราด้วยประสิทธิภาพสูงสำหรับ .
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2024 I Love Translation. All reserved.

E-mail: