aphd / paso Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
Bibtex reference. Many readers are from the academic World. In case you are using PASO for some of your work, you can find a BibTex entry online.
@INPROCEEDINGS{9050263,
author={G. {Antonio Pierro} and R. {Tonelli}},
booktitle={2020 IEEE International Workshop on Blockchain Oriented Software Engineering (IWBOSE)},
title={PASO: A Web-Based Parser for Solidity Language Analysis},
year={2020},
volume={},
number={},
pages={16-21},
}
Add link to https://ieeexplore.ieee.org/document/9050263
** Visualizing Smart Contract Code through Abstract Syntax Tree Analysis **
References: https://github.com/ivan111/vtree
Options available to build form feedback are:
To fix the building process you need to remove Router
I need to automate Javascript minification, for now, yarn build
performs "build": "rm -rf docs; react-scripts build && mv build docs"
For an unknown reason, react-scripts build
fails while uglify-es is successful.
For now, the process to build the app is manual.
view-source:http://localhost:3000/
cd docs
wget *.js
../node_modules/uglify-es/bin/uglifyjs bundle.js 1.chunk.js main.chunk.js -o 1.js -c
References:
Yarn build causes solidity-parser-antlr to produce a fake tree.
I need to test the following solution:
0 || 42; // 42
0 ?? 42; // 0
You can manage two levels of undefined with the Optional chaining
.
Application Examples
Getting a first overview: The programmer wants first to get a global overview of the code changes.
Figure XXX tells several things at a glance.
Checking design rules and find design violation
Discussion with a team member.
Visualizing events of interest
An example of nested source code object is the smart contract available at this address 0x6fa85aa3f44f296de1294e3c097872235215b822
.
The code to add is
import ReactGA from "react-ga";
...
ReactGA.initialize("UA-155858412-1");
ReactGA.pageview(window.location.pathname);
This issus is related to the minify issue #18
https://www.npmjs.com/package/solidity-parser-diligence
facebook/create-react-app#7183 (comment)
reference: facebook/create-react-app#7183
The globalThis
property provides a standard way of accessing the global this value (and hence the global object itself) across environments.
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.