v0.7.0 #82
klauer
announced in
Announcements
v0.7.0
#82
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
This release includes a major rework of TwinCAT solution file loading, the blark CLI tool, and a number of grammar-related fixes.
INTERFACE
definitions are now supported. (ENH: interface support #73) The solution loader can load these.TcIO
files directly.JMP
statement (ENH: first pass at JMP and labeled statements #79)fValue : ARRAY [1..10] OF ARRAY [1..10] OF INT;
) (Support arrays of arrays #66)Return
orContinue
will no longer be mistaken for statements of the same name (Resolve RETURN and CONTINUE Overly-Greedy Matching #68)STRING(g_Constant + 1) := 'abc'
) (FIX: string length expression #72)currentChannel : ARRAY[1..g_c_someConstant] OF POINTER TO struct_groupData := [ ADR(_object[1].someValue) ];
) (FIX: Bugfix for expressions in initial array elements #74)**
) which is invalid in TwinCAT-flavor ST (FIX/CLN: remove unsupported power_expression #76).sln
,.tsproj
,.TcPOU
, etc.) was added to blark with a goal of making file loading more easily customizable, with the option to load/save arbitrary file formats. (REF/ENH: standalone solution parser and rewrite of input/output format support #64).st
files, and TwinCAT source code files)TcPOU
FUNCTION_BLOCK
that contains declaration, an implementation, and any number ofMETHOD
/ACTION
/PROPERTY
sub-items).blark format --write my_pou.TcPOU
)lark.Tree
, and an option to easily transform it intoblark.transform
dataclasses to allow for code rewriting, reformatting, summarization, and so on.blark parse
CLI. Seeblark parse --help
for more details.blark format
CLI to support the new input/output file handling. Seeblark format --help
for more details.Pull Requests
Full Changelog: v0.6.0...v0.7.0
This discussion was created from the release v0.7.0.
Beta Was this translation helpful? Give feedback.
All reactions