funl

所属分类:编程语言基础
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-01-08 14:27:40
上 传 者sh-1993
说明:  FunL编程语言
(FunL programming language)

文件列表:
CONTRIBUTING.md (2485, 2023-10-01)
LICENSE (1092, 2023-10-01)
Makefile (260, 2023-10-01)
examples/ (0, 2023-10-01)
examples/dohelp.fnl (860, 2023-10-01)
examples/fizzbuzz.fnl (569, 2023-10-01)
examples/hello.fnl (87, 2023-10-01)
examples/inspace.fnl (613, 2023-10-01)
examples/simpleserver.fnl (343, 2023-10-01)
examples/tictac.fnl (6268, 2023-10-01)
examples/todo_client.fnl (3880, 2023-10-01)
examples/todo_common.fnl (188, 2023-10-01)
examples/todo_server.fnl (3737, 2023-10-01)
extensions/ (0, 2023-10-01)
extensions/ext.go (184, 2023-10-01)
funl/ (0, 2023-10-01)
funl/ast.go (11821, 2023-10-01)
funl/evaluator.go (17984, 2023-10-01)
funl/fiber.go (12113, 2023-10-01)
funl/fni.go (1217, 2023-10-01)
funl/fumap.go (24622, 2023-10-01)
funl/fumap_test.go (11262, 2023-10-01)
funl/funl.go (11418, 2023-10-01)
funl/importer.go (9153, 2023-10-01)
funl/lexer.go (16747, 2023-10-01)
funl/lexer_test.go (8124, 2023-10-01)
funl/list.go (12566, 2023-10-01)
funl/list_test.go (12467, 2023-10-01)
funl/operators.go (39936, 2023-10-01)
funl/operimpl.go (49807, 2023-10-01)
funl/parser.go (25734, 2023-10-01)
funl/stdfunfiles.go (23744, 2023-10-01)
funl_logo.png (20854, 2023-10-01)
go.mod (46, 2023-10-01)
hellow.png (3639, 2023-10-01)
main.go (4247, 2023-10-01)
... ...

![](https://github.com/anssihalmeaho/funl/blob/master/funl_logo.png) # FunL FunL is simple dynamically typed, functional programming language. It's interpreted language with support for concurrency and immutable data. FunL is implemented with Go. ## Get started ### Install Prerequisite is to have Go language environment available. #### Install in Linux (or Cygwin, Mac) git clone https://github.com/anssihalmeaho/funl.git cd funl make Run hello world example: ./funla -silent examples/hello.fnl Hello World #### Install in Windows git clone https://github.com/anssihalmeaho/funl.git cd funl go build -trimpath -o funla.exe -v . Run hello world example: funla.exe -silent examples\hello.fnl Hello World There are also other examples in examples folder. ## Getting help and try expressions ### Options: -help, -h #### In Linux (or Cygwin, Mac) ./funla -help #### In Windows funla.exe -help ### REPL (Read-Eval-Print-Loop) #### In Linux (or Cygwin, Mac) ./funla -repl #### In Windows funla.exe -repl In REPL type help for more information. Check [REPL usage](https://github.com/anssihalmeaho/funl/wiki/REPL-usage) for more hints. ### Options: -eval ./funla -eval "plus(1 2)" 3 With _-eval_ option any FunL expression can be given as argument. Expression is evaluated and result is printed. ### help operator help operator can be used to get list of operators: ./funla -eval "help('operators')" help operator provides description for each operator: ./funla -eval "help('if')" in REPL: ./funla -repl Welcome to FunL REPL (interactive command shell) funl> help('if') ## Language and Standard library descriptions * [General structure](https://github.com/anssihalmeaho/funl/wiki/General-Structure) * [Syntax and Concepts](https://github.com/anssihalmeaho/funl/wiki/Syntax-and-concepts) * [Concurrency and impure operations](https://github.com/anssihalmeaho/funl/wiki/Concurrency-and-impure-operations) * [Importing modules](https://github.com/anssihalmeaho/funl/wiki/Importing-modules) * [Packages](https://github.com/anssihalmeaho/funl/wiki/packages) * [Operators explained](https://github.com/anssihalmeaho/funl/wiki/Operators-explained) * [External Modules](https://github.com/anssihalmeaho/funl/wiki/External-Modules) * [Usage as embedded language](https://github.com/anssihalmeaho/funl/wiki/Using-FunL-as-embedded-language) * [REPL usage](https://github.com/anssihalmeaho/funl/wiki/REPL-usage) * [Reading Runtime Error Printout](https://github.com/anssihalmeaho/funl/wiki/rteprint) * [Standard Libraries](https://github.com/anssihalmeaho/funl/wiki/Standard-Libraries) ## Contribution and development guidelines Guide for [contributing and developing FunL](https://github.com/anssihalmeaho/funl/blob/master/CONTRIBUTING.md) ## Blog There is Blog for FunL related topics: https://programmingfunl.wordpress.com

近期下载者

相关文件


收藏者