サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ノーベル賞
yashiromann.sakura.ne.jp
第1回: 正規表現 ※ xyzzyでは ( を \( 、 ) を \) とそれぞれ記述する必要があるので注意してください。 まずは簡単なものから: . * + ? /Ruby/ /うげ+/ と /うげ*/ /コンピューター?/ /.*ing/ …表現の繰り返し 次に文字グループ・選択: [ ] [^ ] | /[abcdefghijklmnopqrstuvwxyz]/ と /[a-z]/ …同じこと /[a-zA-Z]+/ …アルファベットのみの単語(*にすると隙間にもマッチしてしまう) /[^a-zA-Z]/ …アルファベット以外の文字 /[Yy]es|[Nn]o/ 繰り返し /[0-9]{4}年[0-9]{1,2}月[0-9]{1,2}日/ …年月日 グループ化・後方参照 /(うげ)+/ /(.)\1/ …/.{2}/と違うことに注意 よくばり・なまけもの …基本は「最左・最長」マッチ
Sandeep.Sv0.1, 01 March 2003. この HOWTO では、GCC により提供されるインラインアセンブリの機能の目的と、その使用法について説明します。前提とされる知識は、x86 アセンブリと C 言語の 2 つだけです。 1. イントロダクション. 1.1 著作権およびライセンス. 1.2 フィードバックと訂正. 1.3 謝辞. 2. 全体の概要. 3. GCC アセンブリ構文. 4. 基本的なインライン構文. 5. 拡張アセンブリ構文. 5.1 アセンブリテンプレート. 5.2 オペランド. 5.3 破壊されるレジスタのリスト. 5.4 Volatile ...? 6. オペランド制約の詳細. 6.1 よく使われる制約. 6.2 制約修飾子. 7. 有用なレシピ集. 8. 最後に. 9. 参考文献. 1. イントロダクション. 1.1 著作権およびライセンス. C
ソフトウェアを公開する際に、ライセンスの選択は非常に重要なファクターとなります。私自身はかなりこの点には気を遣っています。最近は世の中で「GNU GPL最高!」というような感じがありますが、私自身はこれに対しては否定的な立場をとっています。自分の作るソフトウェアで使用していますが、消極的な理由によるものです。ライセンスに関してはもっと丁寧に考えた方がよいのでは、と思ったのでちょっとここに私の考えを記載しています。 私の場合はBTRONのソフトウェア業界をはじめて見たときに感じたのは、「何もない」というところです。…というのは、ソースが公開されていなかったり、ソースの転載が不可だったり連絡が必要だったりして、ほとんど使えるソースが無い、という感じです。私の場合、BTRONのソフトを作ることで、BTRONコミュニティのソフトウェア業界を発展させたい、という目的があるので、このようなものは私の考
Written by Yashiro Takeshi <yashiromann@nifty.com> 2004/1/14 IA-32(x86)上のgccでの関数呼び出し規約について、まとまっている文書がgoogleで検索してもなかなか見つからず苦労したので、他のものと一緒についでにまとめておくことにします。私もよく分かっていないので、何か間違いがありましたら(掲示板でもメールでも)教えてください。 確認の際、抜けがないようにここにも書いておくと、関数呼び出し規約とは、 関数呼び出しの前後で保存されなければならないレジスタ 引数渡しの方法 (ex. レジスタ渡し・スタック渡し・共有メモリ渡し) 引数渡しの順序 関数呼び出し前後でのスタックポインタの保存方法 返り値の戻し方 の全てをあわせたものであって、どれか一つでも曖昧にしてミスしてしまうと思わぬところでエラーが発生してしまいます。(私の
矢代武嗣の管理しているメインの個人サイトです。 主にBTRONやT-Kernelな内容を掲載しています。 おしながき T-Kernelなページ T-Kernelなコードや情報を載せていく予定です。 超漢字(BTRON)関連ソフト 主に自作のBTRON向けソフトを公開しています。 超漢字関連物 玉越大輝さんの作られたページを代行公開しています。 超漢字プログラミング入門 超漢字でウィンドウを用いたプログラミングを行うためのチュートリアルです。 Linux/X11上のキーバインドをEmacs化する試み Linux/X11上の任意のアプリケーションでEmacs的なキーバインドを実現するためのproof-of-concept的なツールです。 macOS上のキーバインドをEmacs化する試み Karabiner Elements を利用してEmacsキーバインドを利用するための個人的な設定例です。
このページを最初にブックマークしてみませんか?
『yashiromann.sakura.ne.jp』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く