JavaCC
| Phiên bản ổn định | 5.0
/ 31 tháng 8 năm 2009 |
|---|---|
| Kho mã nguồn | |
| Nền tảng | Java Virtual Machine |
| Thể loại | công cụ quét/cú pháp |
| Giấy phép | BSD |
| Website | https://javacc.org/ |
JavaCC (trình biên dịch Java) là một công cụ cú pháp mã nguồn mở và là công cụ phân tích từ vựng cho ngôn ngữ lập trình Java. JavaCC tương tự yacc trong việc phát sinh cú pháp từ ngữ pháp chính quy được viết trong ký hiệu EBNF, trừ đầu ra là mã nguồn Java. Không giống như yacc, JavaCC phát sinh cú pháp theo kiểu từ trên xuống dưới, giới hạn nó tới các lớp ngữ pháp phân tích cú pháp LL (đặc biệt, đệ quy trái không dùng được). JavaCC cũng phát sinh các phân tích từ vựng trong cách tương tự Lex (phần mềm). Cây xây dựng đi kèm là cây JJTree, được xây dưng từ dưới lên.
JavaCC có dạng giấy phép bản quyền BSD.
Lịch sử
Năm 1995, tập đoàn Sun đưa ra một công cụ cú pháp gọi là Jack. Các nhà phát triển chịu trách nhiệm tạo Jack cho công ty của riêng mình gọi là Metamata và đổi tên Jack thành JavaCC. Metamata cuối cùng trở thành một phần của WebGain. Sau khi WebGain đóng dự dự án phát triển, JavaCC trở thành công cụ duy nhất hiện tại.
Xem thêm
Tham khảo
Liên kết ngoài
- Official JavaCC website - New site (as of January 2011) at java.net.
- Old Official JavaCC web site - Apparently most of the site was (re)moved...?
- A working snapshot of the old official website - Snapshot archived in 2008 by Internet Archives. Includes more useful content than the current state of the new site.
- JavaCC Tutorial
- JavaCC FAQ
- A JavaCC book - Generating Parsers with JavaCC Lưu trữ ngày 11 tháng 3 năm 2014 tại Wayback Machine
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.