Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
editor
Search
poccariswet
June 07, 2018
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
editor
editor... hope so....
poccariswet
June 07, 2018
Transcript
32 slides
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から調べたりして作っていくのは大 変だけど楽しい! ・ちゃんとデバッグして普通に使えるようにしたい! ・みんなも作ってみてね
ご静聴ありがとうございました。
More Decks by poccariswet
See All by poccariswet
rust for web app
poccariswet
2
400
APNG maker on wasm
poccariswet
1
220
past and future
poccariswet
0
110
ncursesを学ぼう
poccariswet
0
93
shorterql
poccariswet
0
120
i_and_go
poccariswet
0
85
さぁ、深夜ラジオを聴こう!
poccariswet
1
140
Aizu-Go
poccariswet
1
180
Other Decks in Programming
See All in Programming
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
220
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6.2k
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
280
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
250
Ruby から Emacs を操作したい
phigasui
0
370
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
440
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
400
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
270
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
140
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
How to Ace a Technical Interview
jacobian
280
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Chasing Engaging Ingredients in Design
codingconduct
0
400
Typedesign – Prime Four
hannesfritz
42
3.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
Done Done
chrislema
187
17k