package chamo
Install
Dune Dependency
Authors
Maintainers
Sources
md5=e2e9a58e6cd4f406f3ad10881fd3f1dc
sha512=9a52178ab25ad20dae4f7162475bd2ae9eec02cf75a10ddf3680f778850fa7c1117aa831adaa834c4b3b20c7e6aa44cfc9c51918ddb94276b32b200a446ad246
doc/chamo.byte/Chamo_byte/Eval/index.html
Module Chamo_byte.Eval
Source
OCaml code evaluation. This module is present only in the bytecode version of chamo and defines commands to evaluate OCaml code in the editor itself, to modify is behaviour, add commands, etc...
This module also adds a command line option --run
taking a filename whose contents must be evaluated at launch time.
The user's init file evaluated at launch time. This file should contain OCaml source code.
This is the code of the default "prompt_eval" command. It uses the active window's minibuffer to ask the user for some code to evaluate.
This is the code of the default "eval_file" command. It tries to evaluate the file whose name is in first parameter. If there is no argument, then the active window's minibuffer is used to make the user select a file.
This is the code of the default "load_file" command. It tries to load the ocaml bytecode file whose name is in first parameter. If there is no argument, then the active window's minibuffer is used to make the user select a file.
Code of the default "eval" command. It evaluates the OCaml source code given as first argument. If no argument is given, then the "prompt_eval" command is called.