remobjects / codegen4 Goto Github PK
View Code? Open in Web Editor NEWA Swift library to generate source code for many languages
Home Page: https://www.remobjects.com/cg4
License: Other
A Swift library to generate source code for many languages
Home Page: https://www.remobjects.com/cg4
License: Other
CGOxygeneCodeGenerator
GlobalMethods with CGMemberVisibilityKind.private will also show in Interface
CGDelphiCodeGenerator work ok.
Example:
begin
try
calltest();
except
on E: EArgumentException do
begin
calltest();
end;
on E: Exception do
begin
calltest();
end
else
begin
calltest;
end;
end;
end;
the CGInheritedExpression should have a CallExpression
for calls like: #12 Pull request
method store(value : Integer);
begin
inherited store(value);
end;
actual the GUID will only written for Delphi,
should also be written in Oxygene as Attribute if set in the Definition
result in Oxygene is marked as reserved word, will always show as &result resulting in compile error in Oxygene.
Missing with Statement, at least for Oxygene and Delphi
Var LoopVariableType is already optional so should also the parameter.
because in the pascal dialects we don't require it......
actual result as Example:
type
TGenericClass<T> = class
private
var fData: array of T;
public
constructor;
method Test;
end;
implementation
constructor TGenericClass;
begin
fdata := [];
end;
method TGenericClass.Test;
begin
fdata[0] := '';
end;
#9 generateDoWhileLoopStatement will solve as: repeat until not [condition] if no operator in statement
const
MAX_SQLFIELDS = 42;
type
simple = (sfirst, ssecond, sthird); // Works
// No Support in CodeGen4
simpleset = set of simple;
TSQLFieldBits = set of 0..MAX_SQLFIELDS-1;
TCombinedArray = Array[0..5, simple] of String; // Mixed Arrays not Supportes
Look at his code:
type
Tsimple = class
procedure IBase.TestBase = Allocate;
property Simple : ISimple read getSimple implements ISimple;
end;
will not be resolved even if set in
CGMethodLikeMemberDefinition.ImplementsInterfaceMember
and
CGFieldOrPropertyDefinition.ImplementsInterface
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.