File: control

package info (click to toggle)
units-filter 3.7-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 236 kB
  • ctags: 270
  • sloc: yacc: 715; cpp: 222; xml: 152; makefile: 46; perl: 19; sh: 1
file content (29 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- coding: utf-8 -*-
Source: units-filter
Section: science
Priority: optional
Maintainer: Georges Khaznadar <georgesk@debian.org>
Build-Depends: debhelper (>> 9), flex, bison, libfl-dev,
 librecode-dev,
 docbook-xsl, xsltproc, libgmp-dev
Standards-Version: 3.9.8

Package: units-filter
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Suggests: wims
Description: Parser for expressions concerning physical values
 Units-filter is a basic standalone filter written in C language,
 flex and bison. It inputs strings like "1.5e3 nN.m.s^-1" (it could
 be the time growth ratio of a torque) and outputs the value in
 standard SI unit, followed by the physical dimension of this value.
 .
  example :~/src$ echo 1.5e3 nN.m.s^-1 | units-filter
  1.5e-06   2   1  -3   0   0   0   0    0    0
 .
                                   2     -3
  which means : 1.5e-06 (SI unit) m .kg.s
 .
 This parser can be embedded in educational test systems, in order to
 analyze a student's answer to a problem of physics or chemistry.