Downlad and install racket.
Install emacs.
Add the line as ~/.emacs.d/init.el
to load melpa.
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
Start emacs and type M(Esc or Alt)-x
+ list-package
then install racket-mode
and paredit
.
Add the following lines for ~/.emacs.d/init.el
to activate paredit for racket.
(require 'paredit)
(add-hook 'racket-mode-hook 'paredit-mode)
(add-hook 'racket-repl-mode-hook 'paredit-mode)
On racket-mode
, you can execute your code on repl by typing Ctrl-c
twice.
./first-program
raco pkg install --auto web-server
racket first-server.rkt
You can access http://localhost:8001/first-page
racket first-gui.rkt
Run with using standanlone file.
raco exe --gui first-gui.rkt
./first-gui
racket second-gui.rkt
racket thirg-gui.rkt
sudo apt install libserialport-dev
raco pkg install --auto libserialport
racket serial-monitor.rkt
racket first-contract.rkt