  
 | 
  
  85025 packages online
 | 
 
 
 | 
  | 
 
 | 
 | 
 | 
 
| 
  No screenshot available
 | 
| Short: | A tiny, embeddable language |  
| Author: | "rxi", "ooichu" |  
| Uploader: | polluks+aminet sdf lonestar org (Stefan Haubenthal) |  
| Type: | dev/lang |  
| Version: | 1.0 |  
| Architecture: | m68k-amigaos,ppc-morphos |  
| Date: | 2023-03-02 |  
 | URL: | https://github.com/ooichu/fe/ |  
| Download: | dev/lang/fe.lha - View contents |  | Readme: | dev/lang/fe.readme |  
| Downloads: | 1646 |   
  |  
# fe
A *tiny*, embeddable language implemented in ANSI C
```clojure
(= reverse (fn (lst)
  (let res nil)
  (while lst
    (= res (cons (car lst) res))
    (= lst (cdr lst))
  )
  res
))
(= animals '("cat" "dog" "fox"))
(print (reverse animals)) ; => ("fox" "dog" "cat")
```
## Overview
* Supports numbers, symbols, strings, pairs, lambdas, macros
* Lexically scoped variables, closures
* Small memory usage within a fixed-sized memory region -- no mallocs
* Simple mark and sweep garbage collector
* Easy to use C API
* Portable ANSI C -- works on 32 and 64bit
* Concise -- less than 800 sloc
---
* **[Demo Scripts](scripts)**
* **[C API Overview](doc/capi.md)**
* **[Language Overview](doc/lang.md)**
* **[Implementation Overview](doc/impl.md)**
## Contributing
The library focuses on being lightweight and minimal; pull requests will
likely not be merged. Bug reports and questions are welcome.
## License
This library is free software; you can redistribute it and/or modify it under
the terms of the MIT license. See [LICENSE](LICENSE) for details.
 |  
  Contents of dev/lang/fe.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  130     149  87.2% -lh5- 5c52 Feb 25 22:27 fe/build.bat
[generic]                   84      84 100.0% -lh0- 1abf Feb 25 22:27 fe/build.sh
[generic]                 1709    3922  43.6% -lh5- e8ea Feb 25 22:27 fe/doc/capi.md
[generic]                 2504    5912  42.4% -lh5- 45ba Feb 25 22:27 fe/doc/impl.md
[generic]                 1096    3002  36.5% -lh5- 4585 Feb 25 22:27 fe/doc/lang.md
[generic]                19286   47332  40.7% -lh5- 354e Feb 28 00:52 fe/fe
[generic]                16105   27496  58.6% -lh5- f5ed Mar  2 01:05 fe/fe.68k
[generic]                  613    1047  58.5% -lh5- 14f9 Feb 25 22:27 fe/LICENSE
[generic]                  632    1065  59.3% -lh5- fa49 Feb 25 22:27 fe/README.md
[generic]                   73     127  57.5% -lh5- 4f69 Feb 25 22:27 fe/scripts/circular.fe
[generic]                   69      97  71.1% -lh5- b19e Feb 25 22:27 fe/scripts/fib.fe
[generic]                  487    1671  29.1% -lh5- 4da0 Feb 25 22:27 fe/scripts/life.fe
[generic]                  180     381  47.2% -lh5- 8c5e Feb 25 22:27 fe/scripts/macros.fe
[generic]                  286     743  38.5% -lh5- 3956 Feb 25 22:27 fe/scripts/mandelbrot.fe
[generic]                 6433   22876  28.1% -lh5- 3b76 Feb 25 22:27 fe/src/fe.c
[generic]                  744    2419  30.8% -lh5- 5b6f Feb 25 22:27 fe/src/fe.h
[generic]                  101     121  83.5% -lh5- ea81 Mar  2 01:05 fe/src/SCOPTIONS
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        17 files   50532  118444  42.7%            Mar  2 02:44
  |   
 |  
  | 
  | 
| Page generated in 0.01 seconds | 
Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |