Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos and add missing name #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 - 2019
Copyright guenchi (c) 2018 - 2019

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Ballista

***Ballista*** is a ***Express style*** webframwork for ***Igropyr***
***Ballista*** is an ***Express-style*** web framework for ***Igropyr***

### Igropyr : Ballista = Node : Express

> ***Ballista*** is repackaged on ***Catapult*** basis to make the application easier. But no longer purely functional.

## [Manual](https://guenchi.github.io/Ballista)

***easily to write the router***
***easy to write the router***

```
(get "/" index)
Expand All @@ -20,7 +20,7 @@
(post "/notes" notes)
```

***easily to control the process***
***easy to control the process***

application-level middleware:
```
Expand All @@ -36,7 +36,7 @@ router-level middleware:
```


***easily to set up the server***
***easy to set up the server***

```
(staticpath "/usr/local/www/")
Expand All @@ -46,8 +46,8 @@ router-level middleware:
```


***[Igropyr](https://guenchi.github.io/Igropyr)*** is a async http-server for Chez Scheme
***[Igropyr](https://guenchi.github.io/Igropyr)*** is an async http-server for Chez Scheme

Ballista's sister framwork and its dependence: ***[Catapult](https://guenchi.github.io/Catapult)*** (purely functional)
Ballista's sister framework and dependency: ***[Catapult](https://guenchi.github.io/Catapult)*** (purely functional)


6 changes: 3 additions & 3 deletions exemple/example.sc → example/example.sc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(import (igropyr http)
(ballista ballista))

(printf "server is start, listen on port..~a\n" 8080)
(printf "server is started, listening on port..~a\n" 8080)

(define index
(lambda x
(res "this is index")))
(res "this is the index")))

(define user
(lambda (x y)
Expand All @@ -21,7 +21,7 @@

(define erro
(lambda x
(res 200 "text/html" "<h1>erro</h1>")))
(res 200 "text/html" "<h1>error</h1>")))



Expand Down
2 changes: 1 addition & 1 deletion package.sc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(("name" . "ballista")
("version" . "0.5.8")
("description" . "Ballista is a Express style web framwork for Igropyr")
("description" . "Ballista is an Express-style web framework for Igropyr")
("keywords"
("Scheme" "web" "framework" "Igropyr"))
("author"
Expand Down