Font Size: a A A

Research On Syntax Extension And Visual Programming Environment Of COStream

Posted on:2021-03-31Degree:MasterType:Thesis
Country:ChinaCandidate:X X LiFull Text:PDF
GTID:2518306104988469Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the increasing complexity of modern application programs,the computing of large-scale data requires more and more parallelism and scalability from programming languages and frameworks.As a dataflow programming language,COStream can make full use of the multi-core platform by using a specific syntax to describe computing tasks and dividing it into different cores.But at present,the syntax of COStream has the conflict of migration and reduction in the compilation stage,which leads to the error in the parsing of operator priority.And it also lacks of built-in matrix operation interface.These weakness affects the availability and usability of COStream.In order to solve the problem of operator priority exception caused by migration reduction conflict,the syntax of COStream is analyzed by classifying 467 conflicts and redesigning the relevant symbols and expressions while following the operator priority rules strictly,which leads to a new conflict-free syntax.In view of the lack of built-in matrix operation interface,a matrix extension is designed and implemented for COStream,so that the matrix can be transferred between computing nodes as a basic data type.At the same time,dataflow programmers can directly use API interface to perform common matrix operations,which greatly reduces the difficulty of dataflow programming.Aiming at the problem of low visual degree of compilation and running process of COStream compiler,this paper puts forward an online visual programming environment and target code execution scheme based on Web platform,which enables programmers to directly see the static stream graph,scheduling result,division result and execution result of the program.The experiment uses the general x86 architecture multi-core processor and Chrome browser as the target platform,while choosing the representative algorithms in the fields of calculation and machine learning as the test program,make lots of tests for the new conflict free syntax,matrix extension and visual programming environment.The experimental result show that the availability and usability of COStream programming language has been effectively improved.
Keywords/Search Tags:Dataflow programming, Conflict free syntax, Matrix extension, Visual programming environment
PDF Full Text Request
Related items