Commit graph

61 commits

Author SHA1 Message Date
Christopher Chavez
0f3d6e08d1 Fix spelling 2020-09-11 02:11:26 +00:00
marcinkolenda419
4f392ddbe2 examples: add cmake example 2018-08-17 10:45:02 +02:00
Daniel Kochmanski
768eb27079 Remove "copyright" from examples/
Examples were relicensed (under permission from JJGR) to BSD-2-Clause a few
years back. We also remove Copyright from individual files to match the
convention that examples doesn't have that (whole codebase is under JJGR's
copyright too).
2018-08-10 07:36:02 +02:00
Daniel Kochmański
94e4e9bf04 examples: add more C code to embed example
Including printing the result and funcalling lambda with arguments.
2017-08-11 12:09:04 +02:00
Daniel Kochmański
6a5dea524d readme.org: add language fixes by tomek 2017-07-25 08:53:28 +02:00
Daniel Kochmanski
3e19d40d40 examples: asdf_with_dependencies: improve readme
take into account new mechanism.
2017-07-22 13:09:29 +02:00
Daniel Kochmanski
046f7e947f example: use only one file (test.c) 2017-07-22 13:08:09 +02:00
Daniel Kochmanski
4bbc079341 examples: add package prefix to defsystem 2017-07-22 13:07:47 +02:00
Daniel Kochmanski
5eb8475be5 examples: don't intern symbols in asdf-with-deps 2017-07-22 12:29:34 +02:00
Daniel Kochmanski
d18708ff4c cosmetic: wrap lines (2) 2017-07-22 12:12:02 +02:00
Daniel Kochmanski
762c9bb147 cosmetic: wrap lines 2017-07-22 12:11:23 +02:00
Daniel Kochmanski
15c4effbfd examples: fix asdf_with_dependencies example to use :init-name in make-build 2017-07-21 22:18:04 +02:00
Daniel Kochmanski
eb40e06df6 remove duplicated content 2017-07-21 22:12:57 +02:00
Daniel Kochmanski
f9d4a4c957 examples: embed: fix example (provide init-name) 2017-07-21 21:58:51 +02:00
Bo Yao
b2a3924784 update ecldoc for new example of asdf 2017-03-15 22:37:32 -04:00
Bo Yao
fb7117a171 add an example for build asdf with dependence 2017-03-15 13:08:34 -04:00
Daniel Kochmański
69a28761d9 examples: fix threads example
Do not include `gc.h' in the example (only ecl/ecl.h). Things work as
expected whatsoever and we don't put gc.h anywhere for quite a
while. Fixes #136.

Also replace obsolete Cnil with ECL_NIL.
2016-10-05 12:40:27 +02:00
lexicall
fe320c04e4 Small modification to make this demo able to run in Qt Creator. 2016-08-16 08:04:21 +00:00
Daniel Kochmański
3f6a4b99a7 cosmetic: trailing whitespace 2016-08-13 16:05:13 +02:00
lexicall
93ea93f06a Added notice for OSX users. 2016-08-13 13:49:14 +00:00
Daniel Kochmański
ab7ba370f1 examples: ecl_qt: fix pro file 2016-08-13 13:51:40 +02:00
Daniel Kochmański
9199f21bd0 examples: ecl_qt: fix makefile target names 2016-08-13 12:52:47 +02:00
Daniel Kochmański
4dd7ec150b example: ecl_qt: move files to qt/
After the first build stage movie files to the qt/ directory (covered
in *.lisp files and Makefile).
2016-08-13 12:51:43 +02:00
Daniel Kochmański
2f2b3defd1 examples: ecl_demo: make example more portable 2016-08-13 09:02:15 +02:00
lexicall
4e45a82e2b examples: add example ecl_qt (embedding ECL in QT5) 2016-08-13 08:33:42 +02:00
Daniel Kochmański
46693c9b31 android/example: add .gitignore 2015-10-28 19:59:24 +01:00
Daniel Kochmański
458b52e70d android/example: simplify example even further
Remove the menu. Adjust AndroidManifest.xml
2015-10-28 18:40:05 +01:00
Daniel Kochmański
546b06b7b1 android/example: adjust README a bit 2015-10-28 18:28:14 +01:00
Daniel Kochmański
fd7547aaa6 android/example: simplify the example
This is just a "Hello world" example. Simplify it and improve the
readme. More feature full application may be found at:

https://gitlab.common-lisp.net/ecl/ecl-android
2015-10-28 17:24:55 +01:00
Daniel Kochmański
4ee8e62135 android/example: cosmetic: indent / untabify 2015-10-26 11:13:48 +01:00
Daniel Kochmański
5e2edcae92 android/example: don't add *.a to assets
This files shouldn't be copied. They are big, duplicate binaries in fas
files and are no use without the gcc compiler on the target system.

Also clean assets directory on the clean target and use a symblink
`ecl-libdir' to access the libraries directory.
2015-10-26 10:13:28 +01:00
Daniel Kochmański
8af6929bc8 android/example: add short name for the launcher 2015-10-26 10:13:08 +01:00
Daniel Kochmański
a61a0cb0a3 android/example: minor tweaks with the build
Add some menu stubs, icon, change application name, remove generated
file, some indentation fix.
2015-10-25 22:57:25 +01:00
Daniel Kochmański
5ccf29f697 android/example: add the build.xml file
`-post-compile' target is customized to copy necessary files to the assets
directory from the installed ecl-android/ directory.
2015-10-25 21:22:05 +01:00
Daniel Kochmański
ade07de762 android/example: adjust sdk versions
Set minimal API to 2 and the target API to 23. It covers virtually all
devices present on the market.
2015-10-24 09:29:17 +02:00
Daniel Kochmański
66f79450bc android/example: cosmetic ecl_boot tweaks
Unify comment style, change some LOGI messages and wrap the long lines.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
899a88a727 android/example: clean up the init scripts
Move the ASDF cache initialization below it's inclusion and don't be so
noisy with swank.

Also add the function sysinit which downloads and installs the Quicklisp
and replaces it's interpreted gunzip with our precompiled deflate.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
35a6e91488 android/example: use ecl shared library
Don't statically link with the ECL. Use libecl.so instead. Thanks to
that we don't have to link explicitly with each module we want to use
and the whole process is simpler.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
221c58b51b cosmetic: remove unndecessary message 2015-10-23 18:18:58 +02:00
Daniel Kochmański
b8edd5cda8 android: arrange resources directory
Separate different directories for the resources.
 #P"SYS:" -> #P"lisp/lib" - ECLDIR with the modules
 $HOME -> lisp/home       - user provided files, quicklisp, 3rd party contribs
           lisp/etc       - init scripts and the configuration
2015-10-23 18:17:09 +02:00
Daniel Kochmański
2e86acd398 mobile: fix initializing the required modules 2015-10-23 18:16:50 +02:00
Daniel Kochmański
7280f14f55 mobile: fix compilation of android app from examples/
Don't use C99 specific syntax for `for' loop and use functions
lib_init_* instead of main_lib_init_* which aren't exported.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-10-23 18:16:50 +02:00
Evrim Ulu
641a12b4e1 mobile: add sample android application (HelloECL)
Developed by Sylvain Agenau, added to the repository by Evrim Ulu with
a few minor fixes by Daniel Kochmański.
2015-10-23 18:16:38 +02:00
Daniel Kochmański
b57a4fff71 examples: fix bogus :move-here argument
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-10-02 13:02:00 +02:00
Zack Piper
00521d869a Untabify everything. 2015-09-01 20:10:10 +00:00
Juan Jose Garcia Ripoll
83e8057bd1 An example on how to embed ECL using C compilers and ASDF. 2013-05-28 23:07:05 +02:00
Juan Jose Garcia Ripoll
ac26a9db1f File example.asd had disappeared from examples/asdf/ 2011-07-31 13:05:47 +02:00
Juan Jose Garcia Ripoll
aa12f9de8c Changed the behavior of the :stop option in process-command-args and added a new global variable, ext:*unprocessed-ecl-command-args*, that groups all arguments after -- 2011-01-30 15:59:03 +01:00
Juan Jose Garcia Ripoll
9d43a9e9db Update ASDF example (David Leoni) 2010-03-19 23:30:58 +01:00
jgarcia
bd79bd29bb We have to include the garbage collector headers. 2007-12-30 20:51:01 +00:00