Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/02/18 in all areas

  1. MMX Code Explorer shows "Related Classes". When called from inside an interface it shows the implementing classes with navigation on click.
  2. @Tommi Prami That's easy: https://github.com/RomanYankovsky/DelphiAST You might want to try the version with all my patches in it: https://github.com/JBontes/DelphiAST It seems Roman Yankovsky has not had time to integrate all my issues yet. It **is** a very mature library and using it will serve you well. If you want to change the code, grokking the calls between the different parser levels does take some getting used to. I suggest first reading up on the difference between a parser and a lexer if you want to do that. PS don't be put off by the XML output, that's just a cheap trick to display the contents of the tree. You don't need it to work with DelphiAST.
  3. Emil Mustea

    Directions for ARC Memory Management

    Sorry, it's my mistake. I forgot the "var": (inline declaration with type inference) begin var sl := New.Of(TStringList.Create); sl.Add("One"); sl.Add("Two"); //here the record "New" goes out of scope, runs the it's destructor which will free the instance on which "sl" points to end; Better: with inline declaration will stay alive until the block end, not until routine end.
  4. Stefan Glienke

    Directions for ARC Memory Management

    Well, New.Of could return a record that has implicit operator overload to be assignable to the s1 variable which then implicitly goes out of scope at the end of the routine.
  5. Although it has been pretty quiet over there for some years I still use GOLD Parsing System in some of my applications. Besides some pre-built ones it allows to create your own grammars as needed.
  6. 1 point
    until
    Nov. 14: See What’s Coming in 10.3 Rio Presenters: The Embarcadero Product Management Team - Sarina DuPont, Marco Cantu and David Millington Sessions: 8:00 a.m. - 9:00 a.m. CDT AND 12:00 p.m. - 1:00 p.m. CDT One of our biggest releases ever, Rio, introduces many new features in the IDE, making it more effective and easy to use. Rio significantly improves your ability to build Windows 10 and Android applications, provides an updated RAD Server for your micro-service architectures and, last but not least, C++ 17 for Windows 32-bit and great new enhancements to the Delphi language. These new features along with quality improvements in all of the product areas, make 10.3 Rio a version not to miss -- and this webinar will help you quickly learn about what’s new and how you can immediately improve productivity after the release. Register Now
  7. Kryvich

    Time bomb

    function x(const input: string; var output: string): boolean; begin output := input; UniqueString(output); //... end; ?
×