All Projects → reasonml → Reason Tools

reasonml / Reason Tools

Licence: mit
Adds Reason to the browser

Programming Languages

ocaml
1615 projects
reason
219 projects

Projects that are alternatives of or similar to Reason Tools

Codenav
Better code navigation in github
Stars: ✭ 133 (-63.66%)
Mutual labels:  chrome, browser-extension
Extanalysis
Browser Extension Analysis Framework - Scan, Analyze Chrome, firefox and Brave extensions for vulnerabilities and intels
Stars: ✭ 351 (-4.1%)
Mutual labels:  chrome, browser-extension
Synology Download Manager
An open source browser extension for adding/managing download tasks to your Synology DiskStation.
Stars: ✭ 138 (-62.3%)
Mutual labels:  chrome, browser-extension
Sputnik
Open Source Intelligence Browser Extension
Stars: ✭ 119 (-67.49%)
Mutual labels:  chrome, browser-extension
Xdebug Helper For Chrome
Easily activate PHP debugging, profiling and tracing with this Xdebug Chrome extension
Stars: ✭ 270 (-26.23%)
Mutual labels:  chrome, browser-extension
Marinara
Pomodoro® time management assistant for Chrome
Stars: ✭ 1,806 (+393.44%)
Mutual labels:  chrome, browser-extension
Ad Detector
Detects articles with corporate sponsors.
Stars: ✭ 194 (-46.99%)
Mutual labels:  chrome, browser-extension
Puppeteer Sharp Extra
Plugin framework for PuppeteerSharp
Stars: ✭ 39 (-89.34%)
Mutual labels:  chrome, browser-extension
Useragent Switcher
A User-Agent spoofer browser extension that is highly configurable
Stars: ✭ 261 (-28.69%)
Mutual labels:  chrome, browser-extension
Browser Extension
The Hypothesis browser extensions.
Stars: ✭ 246 (-32.79%)
Mutual labels:  chrome, browser-extension
Fontanello
Because you have a weak spot for fonts
Stars: ✭ 85 (-76.78%)
Mutual labels:  chrome, browser-extension
Hide Files On Github
Chrome extension - Hide nonessential files from the GitHub file browser
Stars: ✭ 277 (-24.32%)
Mutual labels:  chrome, browser-extension
Pfp
Manage your passwords easily and securely, via browser extension for Firefox, Chrome, Opera
Stars: ✭ 77 (-78.96%)
Mutual labels:  chrome, browser-extension
Urql Devtools
A tool for monitoring and debugging urql during development
Stars: ✭ 131 (-64.21%)
Mutual labels:  chrome, browser-extension
Octopatcher
Arrgh Some Patchy Goodness to GitHub!
Stars: ✭ 49 (-86.61%)
Mutual labels:  chrome, browser-extension
Azure Mask
A browser extension (Chrome, Firefox) that toggles concealment of sensitive information found in the Azure Portal web page such as Subscription Id's
Stars: ✭ 189 (-48.36%)
Mutual labels:  chrome, browser-extension
Authautofill
한국 휴대전화 본인인증 서비스 자동완성 브라우저 확장 프로그램 Browser Extension for Korea SMS Authentication
Stars: ✭ 22 (-93.99%)
Mutual labels:  chrome, browser-extension
Squashed Merge Message
Use Pull Request description as Squashed and Merged commit messages.
Stars: ✭ 34 (-90.71%)
Mutual labels:  chrome, browser-extension
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (-54.37%)
Mutual labels:  chrome, browser-extension
Hackbrowserdata
Decrypt passwords/cookies/history/bookmarks from the browser. 一款可全平台运行的浏览器数据导出解密工具。
Stars: ✭ 3,864 (+955.74%)
Mutual labels:  chrome, browser-extension

Reason Tools

Adds Reason to the browser.

Getting started

Directly in the browser: https://reasonml.github.io/reason-tools/popup.html

Or, browser extensions: Chrome | Firefox

demo of reason-tools

When you trigger the extension, it will copy the text you have highlighted and put it into an editor. The text is then translated into the corresponding Reason/OCaml text. Reason Tools will automatically convert between .re, .ml, .rei, and .mli text. In browsers that support it (currently just Chrome), a shortcut is added to open the extension with the highlighted text: Alt+D.

before and after of auto conversion

OCaml Documentation

Reason Tools tries to detect OCaml documentation pages and automatically convert between Reason and OCaml syntaxes. It provides an escape hatch for use if there is a false positive detection, or if you prefer the default OCamlDoc styles.

Github Integration

Reason Tools adds a shortcut from interface to implementation files (.re <=> .rei, .ml <=> .mli) on Github when it's detected. Triggered by Alt+I by default (> v0.0.19).

Contribute

To get started contributing you can clone and build the extension:

git clone https://github.com/rickyvetter/reason-tools.git
cd reason-tools
npm install # this will take a few minutes

npm run build to build the project. You also have the granular steps build:self and build:js for faster iteration.

To load in Chrome, go to chrome://extensions/ and turn on Developer Mode. From there you should be able to select "Load unpacked extension..." and choose reason-tools/_build/extension.

Build Systems

This project is a bit unconventional in nature (compiling a compiler and a parser/printer to web), so it uses a few build systems currently.

  • A custom shell.sh is used to compile Reason and the compiler to JavaScript.
  • Bsb is used to build its Reason logic. Nothing special.
  • Webpack is used to bundle the whole js output into a single pack.

Thanks

The foundation of the project is, without a doubt, refmt-web. This is an awesome project by @Schmavery which does the same refmt in a web page.

reason-web-toplevel, by @Engil was also an awesome project where a lot of the work in this project came from.

Also huge thanks to the js_of_ocaml team for building a compiler that pretty effortlessly builds Reason and refmt utils in JS.

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].