dynasist / alobjectparser Goto Github PK
View Code? Open in Web Editor NEWAL Object generation and synchronization
License: MIT License
AL Object generation and synchronization
License: MIT License
Placeholder task for discussion
New class: ALTableParser: ALObjectParser
Function: Parse AL Table objects into SymbolReference stucture
Placeholder task for discussion
New class: ALPageParser: ALObjectParser
Function: Parse AL Page objects into SymbolReference stucture
Should we perhaps invest more in keeping the object model consistent, e.g. give TestFeature a constructor that requires a valid name? In that case, I think I would consider making the Name property read-only.
There is a lot to be said for entirely immutable objects, i.e. objects that receive their "state"
as constructor parameters and cannot be modified after construction, especially if you
plan to later parallelize (parts of) the parsing.
Can I suggest that we make the ALObjectParser a separate, static and stateless class (ALObjectParser)? The only thing it should do, as far as I'm concerned, is something like this:
static IEnumerable<ALObject> Read(string path)
I chose an IEnumerable as the return value type since a file could contain >1 object. For writing, I think we need the mirrored version, again in a separate, static and stateless class (ALObjectWriter?)
static void Write(IEnumerable<ALObject> objects, string path)
Let's keep ALCodeunit clean; implement ATDD-related stuff in C# extension methods, e.g.
// only retrieve names (cheap and sometimes all you want to know)
static IEnumerable<string> GetFeatureNames(this ALCodeunit codeunit)
// retrieve feature details
static ALFeature GetFeature(this ALCodeunit codeunit, string featureName)
// add new feature
static ALCodeunit AddFeature(this ALCodeunit codeunit, ALFeature feature)
// remove feature
static ALCodeunit RemoveFeature(this ALCodeunit codeunit, string featureName)
In ALObjectParser, allow objects and subobjects to have comments associated with them, e.g.:
Ideally, perhaps, to make sure we don't mix ALObjectParser and ATDD concepts, implement the ATDD features as separate library (with a dependency on ALObjectParser). That way, ALObjectParser cannot know about ATDD, but ATDD knows about ALObjectParser.
I was very happy to see this project here, and have been following it for some time now. Unfortunately, I had to realize that it seems to be stuck here and does not continue properly. One could almost give the impression that nothing more is happening here.
Therefore I wanted to inform myself about the state of affairs and if there are plans to reoccupy and complete the project.
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.