All Projects → porkostomus → bob

porkostomus / bob

Licence: other
Clojure console editor written in pure C with REPL support, syntax highlighting and search

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
clojure
4091 projects

Projects that are alternatives of or similar to bob

kodbox
kodbox is a file manager for web. It is a newly designed product based on kodexplorer. It is also a web code editor, which allows you to develop websites directly within the web browser.You can run kodbox either online or locally,on Linux, Windows or Mac based platforms
Stars: ✭ 1,188 (+7820%)
Mutual labels:  text-editor
multitextor
Multiplatform command line text editor.
Stars: ✭ 27 (+80%)
Mutual labels:  text-editor
LSPKit
Language Server Protocol (LSP) implementation for Cocoa ☕️
Stars: ✭ 33 (+120%)
Mutual labels:  text-editor
PredictEd
A rich edit control based text editor with text prediction and other smart features.
Stars: ✭ 32 (+113.33%)
Mutual labels:  text-editor
penme
Penme is a lightweight open source note taking app focused on privacy!
Stars: ✭ 25 (+66.67%)
Mutual labels:  text-editor
TimeWriter
An online collaborative text editor based on event sourcing architecture.
Stars: ✭ 41 (+173.33%)
Mutual labels:  text-editor
text-style-editor
Text style editor widget for flutter
Stars: ✭ 25 (+66.67%)
Mutual labels:  text-editor
THOTH
Text editor in OpenGL
Stars: ✭ 36 (+140%)
Mutual labels:  text-editor
FreeText
Android 字体 文字 特效 动画效果
Stars: ✭ 140 (+833.33%)
Mutual labels:  text-editor
instagram-text-editor
An Instagram like text editor Flutter widget that helps you to change your text style.
Stars: ✭ 66 (+340%)
Mutual labels:  text-editor
CuteMarkEd-NG
Markdown Editor in Qt 5
Stars: ✭ 55 (+266.67%)
Mutual labels:  text-editor
Acorn.jl
A pure julia text editor
Stars: ✭ 41 (+173.33%)
Mutual labels:  text-editor
Quiet-Text
A simple Python text editor for programming and note taking.
Stars: ✭ 49 (+226.67%)
Mutual labels:  text-editor
Note.it
A Cut Down, Simple, Text Editor For Mac And iOS. Built With SwiftUI (Mostly).
Stars: ✭ 20 (+33.33%)
Mutual labels:  text-editor
Neovim-Studio
Neovim turned full-blown IDE
Stars: ✭ 30 (+100%)
Mutual labels:  text-editor
noteworthy
Markdown editor with bidirectional links and excellent math support, powered by ProseMirror. (In Development!)
Stars: ✭ 178 (+1086.67%)
Mutual labels:  text-editor
lime-termbox
LimeText termbox frontend
Stars: ✭ 58 (+286.67%)
Mutual labels:  text-editor
publikator-frontend
[DEPRECATED] moved to https://github.com/republik/plattform Our CMS frontend, including a rich text editor implemented with Slate.
Stars: ✭ 16 (+6.67%)
Mutual labels:  text-editor
LangPad
A word processor/dictionary/generally useful tool for linguistics.
Stars: ✭ 20 (+33.33%)
Mutual labels:  text-editor
mg
OpenBSD Mg editor. Portable Public Domain Micro Emacs for *BSD, Cygwin, Linux, Mac OS X.
Stars: ✭ 99 (+560%)
Mutual labels:  text-editor

Bob the Editor!

Repl

Watch screencast

"Can we build it?"

"Derp de derrrrr!"

It takes like 2 seconds, all you need is a C compiler. To check if it's there type:

$ cc --version

Install it (if needed) with:

$ sudo apt-get install gcc make

Build Bob

Download bob.c and (from its directory) enter:

$ make bob

Install Bob

Put the binary on your $PATH to install Bob:

$ mv bob /usr/local/bin/bob

Use Bob

$ bob [FILENAME]

Clojure evaluation

  • Run the repl script (set to executable with chmod +x repl) to connect to a Clojurescript REPL via JavaScriptCore. You must have inotifywait installed on your machine, as well as Planck.

  • Pressing Ctrl+e evaluates the whole buffer and prints the result of the last expression.

What I wanted

A truly minimal console-based text editor that a beginning programmer can easily read, comprehend and modify. Then when I started writing Clojure full-time I wanted to be able to evaluate code right from the editor.

What I actually wanted

When people tell me to use a certain text editor - to be able to punch them in the face and say,

"I use BOB, biotch."

TODO:

Try on Windows or Mac and add specific instructions if needed.

Figure out how to use pREPL and show results right in status bar. Doing eval by hijacking Planck is an obviously hacky solution and would be nice to bring this functionality into the editor itself.

Credits

Based heavily on the Kilo editor with a Clojure layer added for the syntax highlighting and REPL eval. If you're interested in learning more about how the code works you should definitely check out Snaptoken's tutorial. The unique and remarkable part about it is that it does not depend on ncurses, or any library, which means there's not even a need for a Makefile.

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