Quantum programming language NDQJava series developed by the Institute of Computer Software at Nanjing University is a hybrid quantum programming language series based on Java.lt is the first attempt for Chinese researchers in this field. The processing system of NDQJava was already simulatively implemented in classical computers. The design of NDQJava-2was based on NDQJava but added some powerful constructs. The processing system of NDQJava-2includes lexical analyzer,syntactic analyzer,code transformer,quantum assembler and quantum interpreter. This paper focuses on the design of syntactic analyzer and code transformer of it. |