changeset 9: |
b9720ba9c4a0 |
parent 8: |
bebb76da449c |
child 10: |
79737134254d |
author: |
ellis <ellis@rwest.io> |
date: |
Mon, 08 May 2023 21:11:03 -0400 |
files: |
makefile readme.org scripts/compile.ros scripts/docs.ros |
description: |
readme, removed redundant script |
1.1--- a/makefile Sun May 07 20:42:26 2023 -0400
1.2+++ b/makefile Mon May 08 21:11:03 2023 -0400
1.3@@ -2,7 +2,7 @@
1.4 O ?= /tmp/demo
1.5 .PHONY:build
1.6 $(O):;mkdir -p $@
1.7-clean:;rm -rf out *.fasl;cargo clean
1.8+clean:;rm -rf *.fasl;scriipts/clean.ros
1.9 fmt:;scripts/fmt.ros
1.10 build:;scripts/build.ros
1.11 docs:;scripts/docs.ros
2.1--- a/readme.org Sun May 07 20:42:26 2023 -0400
2.2+++ b/readme.org Mon May 08 21:11:03 2023 -0400
2.3@@ -1,5 +1,4 @@
2.4 #+TITTLE: cl-demo
2.5-
2.6 This is a demo software suite which showcases the power of Common Lisp and Rust.
2.7 * Make
2.8 * Run
2.9@@ -7,6 +6,24 @@
2.10 * Config
2.11 * tasks
2.12 ** TODO ros scripts
2.13-** TODO rs-macroexpand
2.14-- rs-gen-file rs-defmacro rs-macros
2.15+** TODO DSLs
2.16+- consider tree-sitter parsing layout, use as a guide for developing a
2.17+ single syntax which expands to Rust or C.
2.18+- with-rs
2.19+- with-c
2.20+- with-rs/c
2.21+- with-cargo
2.22+- compile-rs/c
2.23+
2.24+*** TODO rs-macroexpand
2.25+- rs-gen-file
2.26+- rs-defmacro
2.27+- rs-macros
2.28+- rs-macroexpand
2.29 - rs-macroexpand-1
2.30+*** TODO c-macroexpand
2.31+- c-gen-file h/c
2.32+- c-defmacro
2.33+- c-macros
2.34+- c-macroexpand
2.35+- c-macroexpand-1
3.1--- a/scripts/compile.ros Sun May 07 20:42:26 2023 -0400
3.2+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3@@ -1,13 +0,0 @@
3.4-#!/bin/sh
3.5-#|-*- mode:lisp -*-|#
3.6-#|
3.7-exec ros -Q -- $0 "$@"
3.8-|#
3.9-(progn ;;init forms
3.10- (in-package :cl-user)
3.11- (ros:ensure-asdf)
3.12- #+quicklisp(ql:quickload '(demo) :silent t))
3.13-
3.14-;; TODO 2023-02-25: opts (system, config, user input)
3.15-(defun main (&rest argv)
3.16- (declare (ignorable argv)))
4.1--- a/scripts/docs.ros Sun May 07 20:42:26 2023 -0400
4.2+++ b/scripts/docs.ros Mon May 08 21:11:03 2023 -0400
4.3@@ -9,4 +9,6 @@
4.4
4.5 (defun main (&rest argv)
4.6 (declare (ignorable argv))
4.7- (format t "hello world"))
4.8+ (write-line "> cargo doc")
4.9+ (uiop:run-program "cargo doc")
4.10+ (write-line " generated rust documentation"))