Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Gerber file compiler based on regular expressions

An expression and compiler technology, applied in the field of editing or interpretation of high-level language, to achieve the effect of high compilation efficiency, strong versatility, and fast compilation speed

Inactive Publication Date: 2014-06-25
东莞市升力智能科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The Boost.Regex regular expression class library is currently regarded as a class standard library with excellent versatility and parsing efficiency in related research. However, the proposed parsing algorithm is limited to application occasions, and the Gerber document standard has not been completed. fully resolved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Gerber file compiler based on regular expressions
  • Gerber file compiler based on regular expressions
  • Gerber file compiler based on regular expressions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0039] Compiler Architecture Design

[0040]For its architecture design, considering that for different application occasions, the final object codes that users care about are quite different, if the entire compiler is developed according to user needs, the versatility of the compiler will be reduced. In order to solve the universal problem, the present invention proposes and designs a layered architecture design of a general compiler, such as figure 1 shown. This module is divided into two parts: compiled application support module (bottom module) and compiled application module (upper module). Modules are called through API (Application Programming Interface) and communicate based on custom messages. The compiling application support module is based on the latest Gerber file format specification and uses regular expressions as a tool to realize lexical analysis, syntax analysis, information matching and intermediate code generation of Gerber files. This module encapsulates...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Gerber file compiler based on regular expressions, and relates to the technical field of high-level language compilation or explanation. The Gerber file compiler comprises an architecture part and an algorithm implementation part, wherein the architecture part comprises a compilation application module and a compilation application support module, and call between the compilation application module and the compilation application support module is achieved through an API; according to algorithm implementation, a Gerber file is described in a formalized mode through three-type grammar, then the regular expressions are used for building corresponding rule lists for lexical analysis and grammatical analysis, according to the rule lists, lexical analysis and grammatical analysis threads are executed in a compiling mode, image information matching is performed at the same time, and matching results are stored through two-way linked lists. The compiler is used for compiling the Gerber file and has the advantages of being high in generality and compiling efficiency.

Description

technical field [0001] The invention relates to the technical field of editing or explaining high-level languages, in particular to a Gerber file compiler based on regular expressions. Background technique [0002] The Gerber file format was first proposed by the Gerber Company of the United States and used in the company's own optical plotter, and was later acquired by Ucamco. Now the specification of the Gerber file format is formulated by Ucamco, and the latest version was released in February 2014. Gerber files are a collection of document formats for PCB industry software to describe circuit board (circuit layer, solder mask layer, character layer, etc.) images and processing data such as drilling and milling. In the actual production process, in order to protect the independent intellectual property rights of the circuit board design, the user or the enterprise design department often only provides the Gerber file of the circuit board to the PCB manufacturing departmen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/45
Inventor 李松莫广锋汪迪
Owner 东莞市升力智能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products