GithubHelp home page GithubHelp logo

kosmokleaner / martinassist Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.25 MB

utility code to parse .cpp and .h files, filter browse UI to browse backups

License: MIT License

C++ 80.55% C 18.98% Objective-C 0.46%

martinassist's Introduction

see tweet: https://twitter.com/MittringMartin/status/1635354734981963777

MartinAssist 3/11/2023

caller can implement this:

struct ICppParserSink
{
  virtual void onInclude(const char* path, bool local) = 0;
  virtual void onCommentLine(const char* line) = 0;



done for recreational programming

literate programming syntax:
* <label> 0..9 a..z A..Z _ /
* <component> "any C++ string even multi line but for now now only a..z A..Z 0..9 _ / space"

* // #begin <label>
  to start define a part
* // #end <label>
  to end define a part, label is optional, without lable it will close last begin
* // #use/here/anchor/label <label>
  to define anchor where parts can be added
* // #ignore
  to ignore the line 
* // ##### <component>
  the following characters define a component/patch, it can be applied or not building a tree of variants



EveryHere app:
* Store a list of all files with creation date/size/path, possibly hash to find redundancy level, browse and to ensure you have at least n backups
* database can be in one spot e.g. dropbox

todo EFUs
* filter files, sort
* compute and show redundancy
* multi select drives should add all files to the files window
* editable drive description



todo:
* Delete multiselect devices
* compute line number for parse errors
* iterate include hierarchy
* support unicode
* parse hlsl files
* unit tests

done:
* include hierarchy
* parse // comments and return with interface
* parse /**/ comments and return with interface
* parse all files in a folder hierarchy



C++ / HLSL / file parser / HTML ?

helping me on unreaveling large code base, marking what is known and finding relevant spots again, find todo
64Bit 

martinassist's People

Contributors

kosmokleaner avatar

Stargazers

Pablo P. avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.