Commit Graph

596 Commits

Author SHA1 Message Date
Vincent Ollivier 5003296c30 Fix lisp doc 2023-07-03 09:28:37 +02:00
Vincent Ollivier 111933fafc Add missing aliases 2023-07-02 09:34:01 +02:00
Vincent Ollivier f806c3a338
Add namespaces to lisp (#511)
* Add file module

* Add r and t literals

* Add string support in contains

* Add number, string, and regex modules

* Fix tests

* Fix lib

* Fix split in lib

* The % operator is for remainder instead of modulo

* Rename internal binary functions

* Add mod and rem and alias % to the latter

* Use dot instead of colon for namespacing

* Rename *-file* functions

* Update www

* Update changelog
2023-07-02 09:20:49 +02:00
Vincent Ollivier 314118c35f
Update smoltcp from 0.9.1 to 0.10.0 (#510)
* Upgrade smoltcp from 0.9.1 to 0.10.0

* Rename timestamp to time

* Update changelog
2023-06-28 21:45:40 +02:00
Vincent Ollivier 2de3eb02bf Remove missing symlink 2023-06-21 23:08:35 +02:00
Vincent Ollivier 86a8319515
Publish release 0.10.0 (#507)
* Regenerate www for lisp doc

* Update example email address

* Fix changelog

* Rewrite old changelog as list

* Update changelog

* Update version

* Add links to changelog

* Fix links

* Add date to lisp changelog

* Fix banner for longer version number

* Update screenshot

* Regenerate www

* Remove boot.png

* Update lisp version to 0.5.0

* Update chess version to 0.2.0

* Add screenshot script
2023-06-21 20:17:54 +02:00
dependabot[bot] 550be2c243
Bump sha2 from 0.10.6 to 0.10.7 (#505) 2023-06-19 19:25:19 +00:00
Vincent Ollivier 92bb9f7b8e
Improve chess game (#506)
* Improve error messages

* Add save and load commands

* Improve perf command output

* Add help to calc command

* Add help to chess command

* Add play command

* Display side to play after load
2023-06-19 21:00:46 +02:00
Vincent Ollivier 9a7c4e61ad
Fix setup instructions in readme (#504) 2023-06-15 23:37:58 +02:00
Vincent Ollivier 03df3f3cfa
Run clippy (#502)
* Run clippy

* Update changelog
2023-06-14 22:51:39 +02:00
dependabot[bot] c4e3788750
Bump object from 0.30.3 to 0.31.1 (#497) 2023-06-14 18:22:37 +00:00
dependabot[bot] 5b64e1f7cd
Bump libm from 0.2.6 to 0.2.7 (#498) 2023-06-14 18:22:19 +00:00
dependabot[bot] be6141270e
Bump raw-cpuid from 10.7.0 to 11.0.1 (#499) 2023-06-14 18:22:05 +00:00
dependabot[bot] c0de59fe1b
Bump vte from 0.11.0 to 0.11.1 (#496) 2023-06-14 18:21:43 +00:00
Vincent Ollivier 063263154c
Fix lisp cond expand (#501)
* Fix lisp cond expand

* Update changelog
2023-06-14 10:06:48 +02:00
Vincent Ollivier 9158bd795c
Update rust version (#495)
* Update rust toolchain file

* Update aml crate to compile

* Avoid installing default toolchain

* Remove warnings

* Add host dependecies to readme

* Update changelog

* Add back strip

* Use earlier toolchain
2023-06-14 00:40:48 +02:00
Vincent Ollivier 8afef1bf2f
Fix lisp range params (#494)
* Fix lisp range params

* Update changelog
2023-06-14 00:04:13 +02:00
Vincent Ollivier 3d815de18e
Fix Lisp comments (#493)
* Refactor parse_comment

* Handle multiple comments

* Handle expression ending with comments

* Return nil for input without expressions

* Add tests

* Add another test

* Update changelog
2023-06-07 09:15:53 +02:00
Vincent Ollivier b1d7a1f929
Add docstring to lisp (#490)
* Add docstring to lisp

* Add expected macro

* Add could_not macro

* Improve naming conventions

* Refactor code

* Add env function

* Update changelog
2023-05-29 10:15:11 +02:00
Vincent Ollivier db03702c2e Remove duplicate entries in changelog 2023-05-24 23:24:42 +02:00
Vincent Ollivier 9c850e108b
Add full support for comments in MOROS Lisp (#489)
* Add full support for Lisp comments

* Update changelog

* Update doc
2023-05-24 23:20:54 +02:00
Vincent Ollivier 4e46f39433
Add parenthesis matching to editor (#488)
* Add parenthesis matching to editor

* Split match_parenthesis

* Avoid replacing overflow symbol

* Generalize to opening and closing chars

* Restore cursor

* Optimize cusor restoration

* Update changelog
2023-05-24 09:28:16 +02:00
Vincent Ollivier fe378dd07f
Upgrade smoltcp from 0.8.2 to 0.9.1 (#484)
* Upgrade smoltcp from 0.8.2 to 0.9.1

* Disable httpd

* Add fence before shell command

* Remove fix for failing test

* Refactor code

* Update changelog
2023-05-08 11:11:13 +02:00
Vincent Ollivier 7a7ceac046
Update rust to nightly-2022-12-21 (#485) 2023-05-08 10:59:17 +02:00
Vincent Ollivier 28fb196d10 Comment out unused constants 2023-05-05 23:17:49 +02:00
Vincent Ollivier 7665c11a9a
Fix RTL8139 driver issues (#483)
* Fix typo in rx buffer size

* Fix issue with small packets tx

* Change tx buffer len

* Fix tx ring overflow

* Use 1024 bytes for max DMA burst size

* Use spin_loop

* Add atomic fence before polling for status change

* Disable interrupts

* Update device capabilities

* Fix http service

* Update /var/www

* Refactor buf len

* Update changelog
2023-05-05 23:14:42 +02:00
Vincent Ollivier 1396d7c8d2 Fix typo 2023-04-28 22:39:02 +02:00
Vincent Ollivier 2f7f33b950
Improve help system (#481)
* Rename shortcut to command in help

* Add dir arg to list usage

* Add help to read command

* Add help to write command

* Add help to date command

* Add manual

* Add help to copy

* Add help to delete

* Add help to dhcp

* Add help to edit

* Add elf command to autocomplete

* Update boot in manual

* Add help to elf

* Add help to env

* Add help to help

* Add help to hex

* Add help to lisp

* Add help to move

* Add help to shell

* Refactor user help

* Update crates

* Improve debug

* Update binaries

* Increase user process memory space

* Exit process before shutdown

* Add more content to manual

* Update manual

* Update screenshots

* Update index.md

* Add link to the manual

* Update shields in readme

* Add links to the manual

* Add games to README

* Rewrite the first part of the index

* Remove a word

* Rewrite usage section

* Add demo section

* Rewrite part of the doc

* Remove html files

* Add make website command

* Commit html files

* Fix indentation

* Fix code block

* Add monitor option to qemu to take screenshots

* Update CSS

* Fix CSS

* Add font-family sans-serif to website
2023-04-27 19:34:05 +02:00
Vincent Ollivier 4d50eae287
Refactor lisp functions (#478)
* Refactor function names

* Rename list_of_xs into xs

* Rename bytes to binary

* Fix failing tests

* Update changelog

* Remove legacy functions
2023-04-22 15:46:05 +02:00
Vincent Ollivier fcab94a804
Improve asm binaries (#482)
* Implement clear in asm

* Implement halt in asm

* Add sleep to halt

* Move newline after color reset

* Add unimplemented print and sleep

* Compute msg len

* Update changelog
2023-04-21 21:06:15 +02:00
Vincent Ollivier 72ea9c14c2
Add light palette (#480)
* Add light palette

* Fix broken test

* Update changelog
2023-04-16 15:38:05 +02:00
Vincent Ollivier f54560e850
Fix invalid bytes from serial (#479)
* Fix invalid bytes from serial

* Update changelog
2023-04-15 11:47:50 +02:00
dependabot[bot] f5ad1a05b6
Bump spin from 0.9.6 to 0.9.8 (#476) 2023-04-11 22:14:24 +00:00
Vincent Ollivier 4fba6367b3
Use pbkdf2_hmac to fix compilation warnings (#477)
* Use pbkdf2_hmac to remove compilation warnings

* Update changelog
2023-04-12 00:08:03 +02:00
dependabot[bot] 2f8f0c93e8
Bump spin from 0.9.5 to 0.9.6 (#474) 2023-03-16 21:14:43 +00:00
dependabot[bot] 0ed320887e
Bump pbkdf2 from 0.11.0 to 0.12.1 (#470) 2023-03-11 21:39:51 +00:00
dependabot[bot] 95389cae86
Bump aml from 0.16.2 to 0.16.3 (#471) 2023-03-11 21:32:20 +00:00
dependabot[bot] c599b60c67
Bump linked_list_allocator from 0.10.4 to 0.10.5 (#472) 2023-03-11 21:31:59 +00:00
dependabot[bot] 4dfdf7fdb7
Bump pic8259 from 0.10.2 to 0.10.3 (#473) 2023-03-11 21:30:42 +00:00
dependabot[bot] d110c86193
Bump spin from 0.9.4 to 0.9.5 (#465) 2023-03-02 21:39:04 +00:00
dependabot[bot] 1747d68960
Bump nom from 7.1.2 to 7.1.3 (#461) 2023-03-02 21:30:51 +00:00
dependabot[bot] 218b5fb85e
Bump object from 0.30.0 to 0.30.3 (#462) 2023-03-02 21:24:07 +00:00
dependabot[bot] d08e66ca57
Bump bit_field from 0.10.1 to 0.10.2 (#468) 2023-03-02 21:21:58 +00:00
dependabot[bot] c2811dc2b2
Bump raw-cpuid from 10.6.0 to 10.7.0 (#469) 2023-03-02 21:21:27 +00:00
dependabot[bot] 2b759cea92
Bump nom from 7.1.1 to 7.1.2 (#457) 2023-01-04 07:21:48 +00:00
Vincent Ollivier 0fbe5eee57
Refactor keyboard interrupt handler (#453) 2022-12-16 22:11:07 +01:00
Vincent Ollivier 7f6d54a2c0 Update changelog 2022-12-16 22:10:28 +01:00
Vincent Ollivier 49c207dd8b
Add cut/copy/paste to editor (#456)
* Add cut command

* Add paste command

* Add copy command
2022-12-16 22:08:50 +01:00
Vincent Ollivier 5251bae1d3
Improve lisp (#455)
* Replace car and cdr builtins with head and tail

* Add nth function

* Reorder core functions

* Rename uniq to unique

* Add list test

* Update doc

* Update examples

* Remove abs definition from example

* Fix tests

* Fix rest
2022-12-16 22:03:02 +01:00
Vincent Ollivier 87eb51d1ff
Improve lisp (#449)
* Add sort function

* Add slice function

* Fix empty string conversion into number

* Fix failing test

* Update test memory in makefile

* Add string to slice

* Add string to length

* Replace builtin lines with split and trim

* Fix splitting on empty pattern

* Fix slice for strings

* Add uniq

* Refactor slice

* Refactor sort to accept any expression

* Add contains?

* Add chunks

* Split default_env

* Add filter and intersection to core lib

* Update doc

* Update set to return value instead of symbol

* Add splice for variadic functions
2022-12-12 18:43:51 +01:00