Solace
所属分类:其他
开发工具:TeX
文件大小:0KB
下载次数:0
上传日期:2023-12-06 19:27:16
上 传 者:
sh-1993
说明: 一种简单函数式编程语言的实现。这种语言是为了好玩,也是一种练习。所有规格均以...为准...
(An implementation of a simple functional programming language. This language is for fun and is an exercise. All specifications are subject to change over the course of the lifetime of the project.)
文件列表:
langDocs/ (0, 2023-12-06)
langDocs/langSpec/ (0, 2023-12-06)
langDocs/langSpec/Solace.pdf (73971, 2023-12-06)
langDocs/langSpec/Solace.tex (6140, 2023-12-06)
langDocs/langSpec/runningDoc.tex (12320, 2023-12-06)
src/ (0, 2023-12-06)
src/Makefile (548, 2023-12-06)
src/sgram.y (11336, 2023-12-06)
src/slex.l (3313, 2023-12-06)
src/solace.c (3101, 2023-12-06)
src/testfiles/ (0, 2023-12-06)
src/testfiles/chartest.solc (217, 2023-12-06)
src/testfiles/functiontest.solc (251, 2023-12-06)
src/testfiles/helloworld.solc (144, 2023-12-06)
src/testfiles/mathtest.solc (381, 2023-12-06)
src/testfiles/stringtest.solc (230, 2023-12-06)
src/testfiles/structtest.solc (316, 2023-12-06)
src/testfiles/symtest.solc (192, 2023-12-06)
src/testfiles/variabletest.solc (455, 2023-12-06)
src/tree.c (7839, 2023-12-06)
src/tree.h (2314, 2023-12-06)
# Solace
Solace is a simple functional programming language developed as a hobby project.
Solace is designed to be simple to read and write with. Source files will compile
down to assembly. The goal for Solace is to be fast, reliable, and enjoyable
to build with.
## About the language
Solace is a compiled functional programming language developed with the C
language utilizing Flex and Bison.
Solace is in its infancy and is a simple language. Solace is statically
typed with immutable variable types. The specification list and language
descriptions for Solace can be found in the langDocs/langSpec directory.
## Current Progress
Solace is in the very early stages of development. Current progress includes
the lexer, and the parser is currently in active development.
## Build and Run
Solace relies on the `clang` compiler, along with the Yacc and Flex tools,
all of which must be installed.
To compile Solace, clone the source directory, and perform `make` within
the main `Solace/src` directory. Currently only tested on Linux/Unix and
Apple silicon systems.
To run the Solace compiler, run the resulting object file called `solace`
followed by the name of the source file to be compiled.
~~~
$ ./solx example_file.solace
~~~
近期下载者:
相关文件:
收藏者: