mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-13 15:36:41 +03:00
e90316a5e1
Now, code blocks that are declared to be Idris code (with the Markdown language specifier) are type checked, and any type checker or parser errors that occur are retained and displayed to IDEs.
26 lines
374 B
Plaintext
26 lines
374 B
Plaintext
:consolewidth 80
|
|
the Nat (1 + 2)
|
|
:exec
|
|
:c bytecode hello.bytecode
|
|
:c c hello
|
|
:doc main
|
|
:reload
|
|
:consolewidth 80
|
|
:load interactive005.idr
|
|
:total main
|
|
:exec
|
|
:consolewidth 80
|
|
:t id
|
|
:set showimplicits
|
|
:t id
|
|
:unset showimplicits
|
|
:t id
|
|
:warranty
|
|
:consolewidth 10
|
|
:doc main
|
|
:consolewidth infinite
|
|
:doc main
|
|
:let data Nat2 = Zero | Succ Nat2
|
|
:t Nat2
|
|
:compile Test.idr
|
|
:compile a.out |