|
28 | 28 | ;;; Commentary: |
29 | 29 |
|
30 | 30 | ;; |
31 | | -;;; compiler-explorer.el |
| 31 | +;; * compiler-explorer.el |
32 | 32 | ;; |
33 | 33 | ;; Package that provides a client for https://godbolt.org service. |
34 | 34 | ;; |
35 | 35 | ;; |
36 | | -;;; Usage |
| 36 | +;;; ** Usage |
37 | 37 | ;; |
38 | 38 | ;; M-x `compiler-explorer' is the main entry point. It will ask you for a |
39 | 39 | ;; language and display source&compilation buffers. Type something in the |
|
42 | 42 | ;; executed program. |
43 | 43 | ;; |
44 | 44 | ;; |
45 | | -;;; Compilation |
| 45 | +;; *** Compilation |
46 | 46 | ;; |
47 | 47 | ;; M-x `compiler-explorer-set-compiler' changes the compiler for current |
48 | 48 | ;; session. |
|
54 | 54 | ;; removes them. |
55 | 55 | ;; |
56 | 56 | ;; |
57 | | -;;; Execution |
| 57 | +;; *** Execution |
58 | 58 | ;; |
59 | 59 | ;; M-x `compiler-explorer-set-execution-args' sets the arguments for the |
60 | 60 | ;; executed program. |
|
63 | 63 | ;; will be used as input for the executed program. |
64 | 64 | ;; |
65 | 65 | ;; |
66 | | -;;; Session management |
| 66 | +;; *** Session management |
67 | 67 | ;; |
68 | 68 | ;; M-x `compiler-explorer-new-session' kills the current session and |
69 | 69 | ;; creates a new one, asking for source language. |
|
77 | 77 | ;; M-x `compiler-explorer-exit' kills the current session. |
78 | 78 | ;; |
79 | 79 | ;; |
80 | | -;;; ASM |
| 80 | +;; *** ASM |
81 | 81 | ;; |
82 | 82 | ;; M-x `compiler-explorer-browse-opcode-documentation' opens a website |
83 | 83 | ;; that contains the documentation for the opcode at point. |
|
86 | 86 | ;; point and vice versa. |
87 | 87 | ;; |
88 | 88 | ;; |
89 | | -;;; Tools |
| 89 | +;; *** Tools |
90 | 90 | ;; |
91 | 91 | ;; M-x `compiler-explorer-add-tool' asks for the name of a tool, adds it |
92 | 92 | ;; to current compilation and displays a new buffer showing the tool's |
|
103 | 103 | ;; |
104 | 104 | ;; |
105 | 105 | ;; |
106 | | -;;; Other commands |
| 106 | +;; *** Other commands |
107 | 107 | ;; |
108 | 108 | ;; M-x `compiler-explorer-load-example' prompts for a name of a builtin |
109 | 109 | ;; example and loads it. |
|
116 | 116 | ;; |
117 | 117 | ;; M-x `compiler-explorer-layout' cycles between different layouts. |
118 | 118 | ;; |
119 | | -;; ## Customization |
| 119 | +;; |
| 120 | +;;; ** Customization |
120 | 121 | ;; |
121 | 122 | ;; Additional customization is possible via M-x `customize-group' |
122 | 123 | ;; `compiler-explorer'. |
123 | 124 | ;; |
124 | | -;; ### Usage with language servers |
| 125 | +;; |
| 126 | +;; *** Usage with language servers |
125 | 127 | ;; |
126 | 128 | ;; The following snippet sets up the built-in eglot package to start a |
127 | 129 | ;; language server for each session, and to automatically create and |
|
0 commit comments