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
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
editor
editor... hope so....
poccariswet
June 07, 2018
More Decks by poccariswet
See All by poccariswet
rust for web app
poccariswet
2
390
APNG maker on wasm
poccariswet
1
220
past and future
poccariswet
0
100
ncursesを学ぼう
poccariswet
0
88
shorterql
poccariswet
0
110
i_and_go
poccariswet
0
81
さぁ、深夜ラジオを聴こう!
poccariswet
1
140
Aizu-Go
poccariswet
1
180
Other Decks in Programming
See All in Programming
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.8k
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
390
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
390
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.8k
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
280
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
110
「人を評価する AI」の設計と実装
ryoyanara
0
260
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
1
830
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
370
Introducing Stack Pull Request in GitHub
kkamegawa
0
110
Cloudflare is Agents
chimame
0
180
バグを直したら useEffect が消えた
colorful12
3
760
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
450
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Believing is Seeing
oripsolob
1
200
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
390
GraphQLとの向き合い方2022年版
quramy
50
15k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
260
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
220
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から調べたりして作っていくのは大 変だけど楽しい! ・ちゃんとデバッグして普通に使えるようにしたい! ・みんなも作ってみてね
ご静聴ありがとうございました。