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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
230
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
450
SONY CISC-NEWS NWS-1750 + NWB-225 ハードウェアメンテとフレームバッファカラー対応 / KOF2026
tsutsui
0
120
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
200
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
Distance field of Julia set
kinakomoti321
0
330
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
はじめてのPLATEAU
nokonoko1203
1
660
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
440
SODA - FACT BOOK(JP)
sodainc
1
40k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
First, design no harm
axbom
PRO
2
1.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
620
So, you think you're a good person
axbom
PRO
2
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
How STYLIGHT went responsive
nonsquared
100
6.4k
Ruling the World: When Life Gets Gamed
codingconduct
0
450
Crafting Experiences
bethany
1
450