Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teal-finance/emo
Emoji based semantic scoped debuging for Javascript/Typescript, Python, Go and Dart providing callstack/stacktrace information
https://github.com/teal-finance/emo
call-stack callstack dart emoji-log flutter go go-logger golang golang-logger python stacktrace typescript
Last synced: 20 days ago
JSON representation
Emoji based semantic scoped debuging for Javascript/Typescript, Python, Go and Dart providing callstack/stacktrace information
- Host: GitHub
- URL: https://github.com/teal-finance/emo
- Owner: teal-finance
- License: mit
- Created: 2022-04-15T10:50:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T10:22:16.000Z (5 months ago)
- Last Synced: 2024-11-28T02:03:47.422Z (24 days ago)
- Topics: call-stack, callstack, dart, emoji-log, flutter, go, go-logger, golang, golang-logger, python, stacktrace, typescript
- Language: Go
- Homepage:
- Size: 173 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emo
Emoji based semantic scoped debugging for Go, Python, Typescript/Javascript and Dart
## Documentation
- [Go](doc/go/) library
- [Python](lang/python/) library
- [Typescript](doc/typescript/README.md) library
- [Dart](lang/dart/) libraryComplete [events list](doc/events/README.md)
## How to contribute
To add more emojis and methods please edit the [`codegen/ref.json`](codegen/ref.json) file.
The code in all languages is generated in from this file.### Generate the code
Run the codegen tools to build up the functions from the [`codegen/ref.json`](codegen/ref.json) file.
#### Build the Go library
```bash
make go
```This will regenerate the `generated.go` file
#### Build the Python library
```bash
make py
```This will regenerate the `lang/python/pyemo/emo_gen.py` file
#### Build the Typescript library
```bash
make ts
```This will regenerate the `lang/typescript/src/emo_gen.ts` file
#### Build the Dart library
```bash
make dart
```This will regenerate the `lang/dart/lib/src/debug.dart` file
#### Build all languages at once
```bash
make all
```### Generate the doc
Regenerate the complete events list:
```bash
make doc
```## Development
### Run the tests
```bash
make test
```Visualize the tests coverage:
```bash
make cov
```