All Projects β†’ yoland68 β†’ Saul

yoland68 / Saul

Tool to use a parsed AST to understand its tokens and regenerate code, tool usage is bound by developer-client privelidge, better call saul.py! πŸ‘πŸ“žπŸ‘¨βš–οΈβš«πŸ

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Saul

Escope
Escope: ECMAScript scope analyzer
Stars: ✭ 497 (+3450%)
Mutual labels:  ast
Js Code To Svg Flowchart
js2flowchart - a visualization library to convert any JavaScript code into beautiful SVG flowchart. Learn other’s code. Design your code. Refactor code. Document code. Explain code.
Stars: ✭ 6,290 (+44828.57%)
Mutual labels:  ast
Proposal Binary Ast
Binary AST proposal for ECMAScript
Stars: ✭ 831 (+5835.71%)
Mutual labels:  ast
Webassemblyjs
Toolchain for WebAssembly
Stars: ✭ 566 (+3942.86%)
Mutual labels:  ast
Postcss
Transforming styles with JS plugins
Stars: ✭ 25,612 (+182842.86%)
Mutual labels:  ast
Astring
🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.
Stars: ✭ 757 (+5307.14%)
Mutual labels:  ast
Tenko
An 100% spec compliant ES2021 JavaScript parser written in JS
Stars: ✭ 490 (+3400%)
Mutual labels:  ast
Esdispatch
trigger events based on esquery selectors during a traversal of a SpiderMonkey format AST
Stars: ✭ 9 (-35.71%)
Mutual labels:  ast
Tolerant Php Parser
An early-stage PHP parser designed for IDE usage scenarios.
Stars: ✭ 717 (+5021.43%)
Mutual labels:  ast
Estraverse
ECMAScript JS AST traversal functions
Stars: ✭ 795 (+5578.57%)
Mutual labels:  ast
Rehype
HTML processor powered by plugins part of the @unifiedjs collective
Stars: ✭ 634 (+4428.57%)
Mutual labels:  ast
Meriyah
A 100% compliant, self-hosted javascript parser - https://meriyah.github.io/meriyah
Stars: ✭ 690 (+4828.57%)
Mutual labels:  ast
Php Parser
PHP parser written in Go
Stars: ✭ 787 (+5521.43%)
Mutual labels:  ast
Esquery
ECMAScript AST query library.
Stars: ✭ 513 (+3564.29%)
Mutual labels:  ast
Modiscript
Acche din aa gaye
Stars: ✭ 888 (+6242.86%)
Mutual labels:  ast
Mdast
Markdown Abstract Syntax Tree format
Stars: ✭ 493 (+3421.43%)
Mutual labels:  ast
Esprima
ECMAScript parsing infrastructure for multipurpose analysis
Stars: ✭ 6,391 (+45550%)
Mutual labels:  ast
Vscode Tsquery
TSQuery extension for Visual Studio Code
Stars: ✭ 13 (-7.14%)
Mutual labels:  ast
Metric Parser
πŸ“œ AST-based advanced mathematical parser written by Typescript.
Stars: ✭ 26 (+85.71%)
Mutual labels:  ast
Micromark
the smallest commonmark compliant markdown parser that exists; new basis for @unifiedjs (hundreds of projects w/ billions of downloads for dealing w/ content)
Stars: ✭ 793 (+5564.29%)
Mutual labels:  ast

Better Call Saul.py πŸ‘πŸ“žπŸ‘¨βš–οΈβš«πŸ

  • Are you frustrated with writing log calls or other statement over and over?
  • Are you frustrated with time consuming code refactor that a 5-year can do?
  • Do you know you have rights as a software develper?

Well, you better call saul.py

This project aim to create scripts with Antlr4 and predefined Antlr4 grammars to tokenize source code and refactor them

Prerequisites

  1. Python3 (investigating a python2 antlr runtime bug)

Installation

  1. (Optional) Install Antlr4. You only need this if you want to generate new lex/parser file for a language

  2. Install Antlr4 Python3 runtime

pip3 install antlr4-python3-runtime
  1. Download this repo to your source code repository
git clone https://github.com/yoland68/saul

Usage

  • Better call ‡ to log every statement in a Javafile
python3 saul/src/saul.py -a android-add-log -f [path-to-file]
  • Better call ‡ to log every statement in a method
python3 saul/src/saul.py -a android-add-log -f [path-to-file] --method-declaration [method-name]
  • Better call ‡ to log method call with specific name
python3 saul/src/saul.py -a android-add-log -f [path-to-file] --method-invocation [method-name]
  • Better call ‡ to trace every statement in a Javafile
python3 saul/src/saul.py -a android-add-trace -f [path-to-file]
  • Better call ‡ to learn how to use saul.py
python3 saul/src/saul.py -h
  • Better call ‡ to find out all the available Saul agents
python3 saul/src/saul.py -l

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].