Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
editor
Search
poccariswet
June 07, 2018
Programming
0
91
editor
editor... hope so....
poccariswet
June 07, 2018
Tweet
Share
More Decks by poccariswet
See All by poccariswet
rust for web app
poccariswet
2
350
APNG maker on wasm
poccariswet
1
190
past and future
poccariswet
0
69
ncursesを学ぼう
poccariswet
0
75
shorterql
poccariswet
0
82
i_and_go
poccariswet
0
54
さぁ、深夜ラジオを聴こう!
poccariswet
0
100
Aizu-Go
poccariswet
1
150
Other Decks in Programming
See All in Programming
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
880
理論と実務のギャップを超える
eycjur
0
170
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.1k
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
780
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
3
13k
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
530
SODA - FACT BOOK(JP)
sodainc
1
8.6k
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.1k
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
410
EMこそClaude Codeでコード調査しよう
shibayu36
0
340
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
580
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
240
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
It's Worth the Effort
3n
187
28k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Code Review Best Practice
trishagee
72
19k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
190
55k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
Transcript
gse 2018/5/26
自己紹介 名前: soeyu 学部: 3年 言語: golang! 趣味: 深夜ラジオ! お笑い!
bananaman github
gse
?
go simple editor
そうです!
エディタです
なんで作った?!
本当はバイナリエディタ...
◉ normal, insert, (visual<-理想) のモードがある ◉ cui 上で動く ◉ キーバインドをもつ
機能
“ ほぼ vim ですね!
なんですが、、、
バグとか多すぎてまだちゃんとできて はないです...
None
◉ goncurses(ncurses)...のみ ◦ めっちゃ楽... ◦ Raw modeとか (github.com/pkg/term 使えば行けそ) ▪
[関連] Cooked mode 使った技術
スクリーン、キー入力、カーソルなどをwindow 単位で管理する ライブラリのこと ncursesって? zsh
ncurses api を使えるようにしたcbind library goncursesって? https://github.com/rthornton128/goncurses
goncursesのちょっと不満なところ
insert系が対応されてない
◉ raw modeで1文字入力待ち! ◉ 入力された文字を読み取って、関数実行! ◉ windowにその実行したものをだす! 動き
ってことで実際に見てみましょう!
cursor move
None
insert
None
save
None
bug...
None
Binary Editorを目指す! editorの今後 ◉ バイナリエディタのコードとかを読んで作って行ければと思います! ◦ いい記事等あれば教えてください!! ◉ 適宜良さそうなエスケープシーケンスは増やしていく
◉ Visual mode とかも今後実装していきたい...いやします
感想 ・やっぱり無知なものを1から調べたりして作っていくのは大 変だけど楽しい! ・ちゃんとデバッグして普通に使えるようにしたい! ・みんなも作ってみてね
ご静聴ありがとうございました。